Randy,

I believe http://github.com/hassox/dm-zone-types will get you going

cheers
snusnu

On Wed, Dec 15, 2010 at 16:14, Randy Fischer <[email protected]> wrote:
> Hi,
>
> I'm trying to figure out a way to get DB inserts of DateTime
> properties to be UTC by default (I'm supporting mysql and
> postgress on the back end).
>
> I can set ENV['TZ'] = 'UTC' but this has a bad effect on other
> parts of my application (syslog, specifically, where I want
> the local time).
>
> Thanks,
> -Randy Fischer
>
> --
> You received this message because you are subscribed to the Google Groups
> "DataMapper" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/datamapper?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to