Calendar:Timezones

From MozillaWiki
Revision as of 16:54, 18 February 2005 by Mvl (talk | contribs)
Jump to navigation Jump to search

Timezones

An event can be defined in any timezone, or be 'floating' (meaning there is no timezone defined)

The calendar is displayed in a timezone the users configured (usually the timezone he lives in, but could be anything)


Issues

  • In what timezone should the datepicker be when editing an event? In the stored timezone or in the display timezone?
  • Should editing show the timezone?
  • calIDateTime.jsDate is always in the local timezone. Should it be banned?
  • On the other hand, it is a way to get a date in the local timezone.
  • In what timezone are events created by default?
  • UTC events have issues with recurrance and daylist saving time. For example, 14:00 in UTC can be 12:00 or 13:00 in european time. Recurring every week at 14:00 UTC will change the time in european time. So UTC isn't a suitable storage for normal events.
  • How to find out the timezone the user lives in? (in tzid format if possible)
  • How to create an event in a different timezone than you are in? for example, if you have a conference call at 11:00PST, but you live in CET.

Suggestions

for editing:

  • floating events show the floating time
  • other timezones show in the display timezone
  • not complete yet

for getting the default timezone + the ui:

  • instead of the olsen list of timezones, just store the zones using their name, not their city (CET, PST etc)
  • the name can be retrieved from the OS
  • have a list of cities per timezone to present to the user
  • It should be possible to get this data from the olsen data with some smart scripting