Hacker News new | ask | show | jobs
by userbinator 338 days ago
Ideally the clock display should be customisable to display whatever level of precision you want; I believe at least one Linux application lets you specify it via a strftime() format string.
1 comments

KDE Plasma provides custom time formats: https://postimg.cc/sGXD8wqq. The time format documentation from that screenshot links to QT's formatDateTime function: https://doc.qt.io/archives/qt-5.15/qml-qtqml-qt.html#formatD...
That's already more customisation than most software will allow, but to paraphrase an old saying, "those who don't understand strftime() are doomed to reinvent it poorly":

https://pubs.opengroup.org/onlinepubs/009695399/functions/st...