Adding UTC to timezones

David Jarvie djarvie at kde.org
Fri Sep 5 22:23:02 BST 2008


On Friday 5 September 2008 7:11, Rafał Miłecki wrote:
> Current list of timezones misses UTC (reported long time age in
> https://bugs.kde.org/show_bug.cgi?id=164383 and
> https://bugs.kde.org/show_bug.cgi?id=156314).
>
> I see two ways of adding this. Updating zones.tab or hard-coding this
> in ksystemtimezone.cpp.
>
> Is any one of theses better? Or maybe someone has other, even better
> idea than mine?

UTC is always available as a time zone (KTimeZone::utc()), even if it
isn't necessarily included in KSystemTimeZones::zones(). It's a special
case, and the clock widget should ensure that it offers it as an option.

-- 
David Jarvie.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm





More information about the kde-core-devel mailing list