Ruby on Rails Tuesday, August 31, 2010

On 31 August 2010 20:21, Robert Walker <lists@ruby-forum.com> wrote:
>> 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?

Hopefully she'll be in the same as me wherever it is, otherwise it
probably won't be a very good date.

But, if there is a risk in the implementation that timezones confusion
could cause problems, then store a timezone value in addition to the
time. There's not that much more confusion with timezones caused when
storing just time than with datetime.

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