[Qt-interest] New Date and Time Features in Qt5?

John Layt john at layt.net
Wed May 18 18:46:50 CEST 2011


On Tuesday 17 May 2011 22:44:38 Scott Aron Bloom wrote:
> 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

I think the visibility of the issue comes down to what type of product you're 
writing and your geographic spread.  If you write a financial app then almost 
everyone is happy with Gregorian, if you write a calendar app or something 
more personal or have a large Asian user base then local calendars or 
variations on Gregorian do become something users want.

My main argument is both Windows and OSX implement native support, as does 
KDE, and there are a number of countries where the legal calendar is not 
Gregorian (even if everyone knows the Gregorian date as well).  Implementing 
support for Win and OSX should be very simple, just pass it through to the 
native api, it's on Linux where significant new code will be required but I 
can provide that.  But that's an argument I have to make in a different forum, 
here I'm just trying to gauge the demand for it.

Cheers!

John.



More information about the Qt-interest-old mailing list