You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
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.
Created by kgiszczak - 2010-05-27 17:37:20 UTC
Original Lighthouse ticket: http://datamapper.lighthouseapp.com/projects/20609/tickets/1292
The text was updated successfully, but these errors were encountered: