Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

dm-rails should be timezone aware #7

@solnic

Description

@solnic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions