From: Brett Simmers Date: 2007-07-18T07:43:16+09:00 Subject: Re: Time range min/max inconsistency --------------080008070304080603080305 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit > => Tue Jul 17 14:00:00 +0200 2007 > > As you may see r.max returns the correct value, however it is in a > different time format as r.min's return value (and different from the > initial value). > > If I use these values in a user interface, the max value must be > converted to a UTC time with r.max.utc before i can format it with > strftime(). > > Do you think this is a bug, or should i read more ruby literature? :) > > > I don't know if this is related to your problem, but whenever I use Marshal.load to load a marshaled Time object, it's always created in the local timezone, regardless of what zone the saved object was in. This is similar behavior, although I'm pretty sure Ranges don't use Marshal, and it's weird that it's just the max. --------------080008070304080603080305--