HappyCoder
9th March 2017, 08:08
Hi,
e.g. when i use QLocale and dateFormat i can get either the long or short format.
But in Windows (settings for language) are more than one short format for date:
dateFormat(QLocale::ShortFormat) returns only the current system setting.
e.g. M/T/JJJJ
but there are more like this:
M/T/JJ
MM/TT/JJ
and 4 other formats
How can i get all possible short format strings from system?
Greetings
e.g. when i use QLocale and dateFormat i can get either the long or short format.
But in Windows (settings for language) are more than one short format for date:
dateFormat(QLocale::ShortFormat) returns only the current system setting.
e.g. M/T/JJJJ
but there are more like this:
M/T/JJ
MM/TT/JJ
and 4 other formats
How can i get all possible short format strings from system?
Greetings