#1422 suggestion

support for timezone in DateTime or Time

Reported by flazz | September 30th, 2010 @ 08:33 AM

currently (dm-core v1.0.2) does not consider the timezone
property created_at, DateTime makes this field (in postgresql)
created_at | timestamp without time zone |

would it be possible to specify:
property created_at, DateTime, :timezone => true to make the field (in postgresql)
created_at | timestamp with time zone |

i'm assuming that other databases could have correct behavior under the proposed semantics, i only know this with postgresql

this would simplify date times for the cases where an absolute time is needed but serialization and parsing need to be in an arbitrary time zone.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »