Adding UTC to timezones

Aaron J. Seigo aseigo at kde.org
Fri Sep 5 23:55:33 BST 2008


On Friday 05 September 2008, David Jarvie wrote:
> 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.

we certainly aren't going to put it as a seperate checkbox when there's a fine 
list of timezones right there; so you'd suggest something like:

KTimeZones *tzs = KSystemTimeZones::zones();
tzs->add(KTimeZone::utc());
KTimeZoneWidget *tzWidget = new KTimeZoneWidget(parent, tzs);

?

this will result in KTimeZone::utc() being in KSystemTimeZones::zones() for 
the rest of the life of the application, correct? so every things in plasma 
will then get UTC in its KSystemTimeZones::zones()? i don't think there's a 
negative to that, it just seems a bit odd. oh well..

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080905/e17918d2/attachment.sig>


More information about the kde-core-devel mailing list