View Issue Details

IDProjectCategoryView StatusLast Update
0016681ScribusPDFpublic2021-11-25 00:00
Reporterscribusexplorer Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLaptopOSWindowsOS Version10
Product Version1.5.6 
Summary0016681: PDF Export page information displays date in US format - should preferably use system format
DescriptionIf 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 ReproduceExport to PDF with 'Page Information' ticked
Tagsdate, date format, iso date, page information, PDF, pdf export
PatchNo

Activities

scribusexplorer

2021-11-09 22:30

reporter   ~0049347

or at least default to a standardised format like yyyy-mm-dd maybe?

cbradney

2021-11-24 22:49

administrator   ~0049382

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.

scribusexplorer

2021-11-25 00:00

reporter   ~0049383

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)
image.png (28,207 bytes)   
image.png (28,207 bytes)   
image-2.png (32,181 bytes)   
image-2.png (32,181 bytes)   
image-3.png (27,866 bytes)   
image-3.png (27,866 bytes)   
image-4.png (3,467 bytes)   
image-4.png (3,467 bytes)   

Issue History

Date Modified Username Field Change
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