Friday, September 7, 2012

Re: change DateBox default time

Noon is totally fine because of DST that can occur at midnight in some countries. You would get an invalid date otherwise.

Assume a country does its DST on 20.06.2012 12:00:00 a.m (midnight). The valid dates are 

19.06.2012 11:59:59 p.m. 
20.06.2012 01:00:00 a.m. (DST active. There is no 20.06.2012 12:00:00 a.m.)

Thats why GWT has chosen noon as default time in DatePicker. That way you are still correct if you choose a day on which DST will be activated.

-- J.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-16JJNVq8-QJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate