[Qt-interest] New Date and Time Features in Qt5?
Scott Aron Bloom
Scott.Bloom at onshorecs.com
Tue May 17 23:44:38 CEST 2011
Let me give an opposing POV..
I have had more than 1 customer request support for the Hebrew and
Arabic calendars..
It would be great, if we had the ability to add a
QDateTime::setCalendar( enum ) type function that would allow all the
simple conversion...
Scott
-----Original Message-----
From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
[mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On
Behalf Of Jason H
Sent: Tuesday, May 17, 2011 2:24 PM
To: John Layt; qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] New Date and Time Features in Qt5?
I've written software that has been distributed to hundreds of
customers, including Japan and Korea. In all my years of supporting that
software, I only ever came across one computer that was set to the non
common-era style, and that was the Buddhist calendar.
I don't recommend supporting the Mayan calendar at this time, as they
are coming up on their Y23,000 problem late next year. (Best to add
support for /after/ they rollover) We can probably drop support for the
Christian calendar as well since their rapture is scheduled for this
Saturday.
Good or bad, I think the common era calendar (with timezones) is all we
need.
(Yes, that's supposed to be some humor up there)
----- Original Message ----
From: John Layt <johnlayt at googlemail.com>
To: qt-interest at qt.nokia.com
Sent: Tue, May 17, 2011 3:39:15 PM
Subject: Re: [Qt-interest] New Date and Time Features in Qt5?
On Friday 13 May 2011 15:00:29 John Layt wrote:
> As part of that I would like to know what other Qt users are missing
> and would like to see supported. The wider the community interest in
> adding new features the more likely they are to get them in.
Thanks for all the responses, even if it did get side-tracked a bit on
leap seconds and nano-seconds. Personally I'm not convinced such a
level of accuracy is required for most Qt users, but I'll keep it in
mind when making suggestions about ways Qt could allow QTime to be
sub-classed to create your own specialised time classes.
Timezones is obviously a very popular feature, I believe Qt are working
on this as a requirement for Qt Mobility so hopefully we get a good
result there.
Date maths and date/time periods are also another popular request, with
an existing merge request, and KDE also has date maths code we can look
at.
I'm a little surprised no-one commented on the formatting options
available in Qt, are people really happy with just YMD options?
Also any comments on alternative calendar systems (Islamic, Chinese,
Japanese Era, etc)? Does anyone get complaints from end users in the
Middle East and Asia that their dates are not correctly localised to
their Windows/OSX system settings? If there's not much demand for this
then I'll need a Plan B :-)
Thanks again.
John.
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list