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 #11

Closed cattywampus closed 11 years ago

cattywampus commented 11 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.