Time formats / LC_TIME challenge for 4-digit year support

Jaroslaw Staniek staniek at kde.org
Mon Dec 3 13:47:56 GMT 2018


Hello,
The need: 4-digit year support for short date formats to avoid issues like
"10/11/12" dates.

This is just my initial conclusion from for the Qt date format issue:

https://bugreports.qt.io/browse/QTBUG-59382?focusedCommentId=436861&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-436861
lt;dr: KF5 context: KCallendarSystem is part of the old APIs and the only
code I found related to LC_TIME.

So I've not found any common code KDE app can use instead of hard coding
some internal logic in order to support non-Plasma environments and/or
non-global settings. Basically even if an app implements locale name
selection in its private settings, "pure" Qt code is not enough to support
it in the discussed cases. Users may need alter date format globally (for
all apps) by hand using environment's settings, setting e.g. yyyy-mm-dd. Or
app developers may add private setting for that, one per app.

Opinions welcome.

-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - kde.org
KEXI:
: A visual database apps builder - kexi-project.org calligra.org/kexi
  twitter.com/kexi_project facebook.com/kexi.project t.me/kexi_project
Qt Certified Specialist:
: linkedin.com/in/jstaniek <http://www.linkedin.com/in/jstaniek>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20181203/3408d7d1/attachment.htm>


More information about the kde-core-devel mailing list