Ruby on Rails Tuesday, August 31, 2010

Michael Pavling wrote:
> On 31 August 2010 20:15, Robert Walker <lists@ruby-forum.com> wrote:
>> Greg Donald wrote:
>> As I said meaningless without applying the date part to it. If today is
>> Saturday, and the event is scheduled at 4:00 p.m. Tuesday, what happens
>> if the time changes to, or from, daylight savings time at 2:00 a.m.
>> Sunday. The value "4:00 p.m." must be translated based on the specific
>> date the Tuesday lands on. Might as well just store the time as a string
>> at that point. The time has no value as a Time (object) (i.e it must be
>> parsed based on the date anyway).
>
>
> If I have a date at 4pm on Tuesday, the date is at 4pm regardless of
> the state of daylight savings time :-)

In what time zone?
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment