Skip to content
Commit a458e48f authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

applets/digitalclock: Localize custom date format, too

Qt.formatDate with locale only accepts Locale.FormatType as format type,
no Qt.DateFormat (ISODate) and no format string.
Locale.toString on the other hand only formats a date *with* time...

Also refactor it to store a formatter function which is then used
to format the date.


(cherry picked from commit f3ef11ea)
parent c0c62922
Pipeline #606882 failed with stage
in 2 minutes and 8 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment