Commit graph

2 commits

Author SHA1 Message Date
Paul Nicholls
cb4987f858 MDL-39190 Javascript: Pop-up calendar days of week wrong
The YUI2 calendar widget (still used via 2in3) uses midnight as the time
component of its Date objects, which triggers a Safari bug resulting in
11pm Saturday being returned instead of midnight Sunday when subtracting
days to get the last few days of the previous month.  This shows up ONLY
on the month after DST begins, if DST begins on the last Sunday of a given
month (and the Calendar widget is set to Sunday as the first day of the
week).  The fix/workaround of using noon instead of midnight is employed
by YUI3 and others.
2014-09-23 16:50:58 +12:00
Petr Škoda
1c76d55a40 MDL-34714 switch to YUI 2in3 2012-08-11 20:40:01 +02:00