View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016681||Scribus||public||2021-11-09 22:25||2021-11-25 00:00|
|Summary||0016681: PDF Export page information displays date in US format - should preferably use system format|
|Description||If you select to add page information as part of PDF export, you end up with a date added to the document formatted as USA date, which looks and reads strangely in other parts of the world.|
Ideally, scribus would take the system date format, or provide configurable date formats (or perhaps even configurable page information) to avoid this very irritating imperialist issue! :)
|Steps To Reproduce||Export to PDF with 'Page Information' ticked|
|Tags||date, date format, iso date, page information, PDF, pdf export|
||or at least default to a standardised format like yyyy-mm-dd maybe?|
We're using Qt::TextDate from the below two options.
If the format is Qt::TextDate, the string is formatted in the default way. The day and month names will be localized names using the system locale, i.e. QLocale::system(). An example of this formatting is "Sat May 20 1995".
If the format is Qt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates and times, taking the form yyyy-MM-dd, where yyyy is the year, MM is the month of the year (between 01 and 12), and dd is the day of the month between 01 and 31.
So your system is using the locale of the system as its detected and appears to be in US format. Not sure if we should change to ISO date yet.
Interesting - thank you.
These are my date and language settings, so not sure that the US format is coming from this machine. Could it be a fallback date format somewhere in the code? Or does win10 hide more formatting options elsewhere? Also attached is a screenshot of a doc I just created with 'page information' turned on, and a screenshot of the 'user interface' settings in Scribus (now updated to 1.5.7)
|2021-11-09 22:25||scribusexplorer||New Issue|
|2021-11-09 22:25||scribusexplorer||Tag Attached: date|
|2021-11-09 22:25||scribusexplorer||Tag Attached: date format|
|2021-11-09 22:25||scribusexplorer||Tag Attached: iso date|
|2021-11-09 22:25||scribusexplorer||Tag Attached: page information|
|2021-11-09 22:25||scribusexplorer||Tag Attached: PDF|
|2021-11-09 22:25||scribusexplorer||Tag Attached: pdf export|
|2021-11-09 22:30||scribusexplorer||Note Added: 0049347|
|2021-11-24 22:49||cbradney||Note Added: 0049382|
|2021-11-25 00:00||scribusexplorer||Note Added: 0049383|
|2021-11-25 00:00||scribusexplorer||File Added: image.png|
|2021-11-25 00:00||scribusexplorer||File Added: image-2.png|
|2021-11-25 00:00||scribusexplorer||File Added: image-3.png|
|2021-11-25 00:00||scribusexplorer||File Added: image-4.png|