Menu

#166 CIMDateTime does not take account of DayLight Savings time

open
5
2005-07-14
2005-07-14
Anonymous
No

When in daylight savings time, passing a Date or Calendar
Object to the constructor of CIMDateTime does not give a
correct time offset to GMT.

For exaple, when in PST Daylight time (9 hours behind
GMT) you the conversion thinks you are 8 hours behind.

The problem lies in the getCalendarString method. It is
because this method get the TZ offset, but not the Daylight
time offset, hence the hours difference.

Discussion


Log in to post a comment.