jasonmk / datastax_rails

A Ruby-on-Rails interface to Datastax Enterprise. Replaces the majority of ActiveRecord functionality.
MIT License
23 stars 9 forks source link

Encode/decode time from utc to the local zone #10

Closed cattywampus closed 10 years ago

cattywampus commented 10 years ago

Ensures time is always persisted and queried as UTC (just like ActiveRecord) but also properly converts the model's datetime fields back to the local timezone if set.