Ruby on Rails Tuesday, August 31, 2010

Robert Walker 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).

I suppose though that the TIME field would provide some basic
validation, which would be it's only benefit as far as I see it.
--
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