Timezone of time displayed differs from entered time - Sunbird Lightning Calendar: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
(No difference)

Revision as of 13:17, 8 July 2007

Issue: If the operating system timezone and the Calendar timezone do not agree, then after entering a time in the event dialog and clicking OK, the time displayed in the view is not the same as the time just entered.

Versions:

  • Sunbird 0.3 and later
  • Lightning 0.1 and later

Background:

  • The date and time parsers and pickers used in the event dialog depend on the operating system timezone.
  • The calendar displays use the calendar timezone.
  • The developers haven't found any way to get a Windows timezone that works IN ANY LOCALE. (The standard API returns a localized string.)
  • Therefore, the timezone needs to be set in two places.
  • bug 300605

Workaround: Make sure the operating system timezone and the calendar timezone agree.