Fix [ 1948445 ] Time field problem on daylight

This commit is contained in:
Carlos Ruiz 2008-04-22 05:16:59 +00:00
parent 6e2b8971e5
commit 6cf931088b
1 changed files with 3 additions and 0 deletions

View File

@ -229,6 +229,9 @@ public class Calendar extends CDialog
m_calendar.setTimeInMillis(System.currentTimeMillis());
else
m_calendar.setTime(startTS);
// [ 1948445 ] Time field problem on daylight
if (m_displayType == DisplayType.Time)
m_calendar.set(1970, 1, 1);
m_firstDay = m_calendar.getFirstDayOfWeek();
//
Locale loc = Language.getLoginLanguage().getLocale();