We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2016-02-03 22:14:13 +0200

Localized date display

Hello Jolla,

I have localized the Jolla to my native language, but I have not found any references in the translation files for the date formatting. The formatting strings for the time display (hh:mm for e.g.) are present, but nothing is present for the dates.

On the lock screen the date is formatted as "3 febr." although we are used to the "febr. 3" format.

After reading through the lockscreen and the events view qml files, I have realized that the code uses the Format.formatDate method for displaying the date.

That function only accepts only predefined format types. I have "patched" the display method to use the Qt.formatDate method which accepts a format string, which could be localized.

What is the official way to create a patch and push it to upstream?

Localized Localization aware date displaydisplay?

Hello Jolla,

I have localized the Jolla to my native language, but I have not found any references in the translation files for the date formatting. The formatting strings for the time display (hh:mm for e.g.) are present, but nothing is present for the dates.

On the lock screen the date is formatted as "3 febr." although we are used to the "febr. 3" format.

After reading through the lockscreen and the events view qml files, I have realized that the code uses the Format.formatDate method for displaying the date.

That function only accepts only predefined format types. I have "patched" the display method to use the Qt.formatDate method which accepts a format string, which could be localized.

What is the official way to create a patch and push it to upstream?