marshal.rb

Path: lib/active_support/core_ext/time/marshal.rb
Last Update: Thu Oct 13 14:45:57 -0400 2011

Pre-1.9 versions of Ruby have a bug with marshaling Time instances, where utc instances are unmarshalled in the local zone, instead of utc. We‘re layering behavior on the _dump and _load methods so that utc instances can be flagged on dump, and coerced back to utc on load.

[Validate]