
dm-rails should be timezone aware
Reported by kgiszczak | May 27th, 2010 @ 12:37 PM
This is how activerecord works:
Time.zone = 'Athens'
Post.first.created_at # => Thu, 27 May 2010 19:28:01 EEST
+03:00
Time.zone = 'London'
Post.first.created_at # => Thu, 27 May 2010 17:28:01 BST
+01:00
Datamapper ignores timezone. So to achieve the same effect you need to use in_time_zone method on time fields, which isn't very handy.
Comments and changes to this ticket
-
Dan Kubb (dkubb) May 27th, 2010 @ 04:11 PM
- State changed from new to suggestion
This ticket is related to #868
-
Piotr Solnica (solnic) May 17th, 2011 @ 02:30 AM
- Tag set to dm-rails
- Milestone order changed from 0 to 0
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »