Open GerbilSoft opened 7 years ago
Comment by GerbilSoft Saturday Jan 28, 2017 at 16:13 GMT
I'm currently using the locale-based time formatting functions specific to each UI toolkit. This uses the time format specified by the system locale.
On my system, Qt/KDE doesn't show the seconds field, but GTK+ and Windows do.
I'm not sure if there's an easy way to explicitly hide the seconds field without using the locale-specific format.
Issue by DankRank Tuesday Jan 17, 2017 at 22:22 GMT Originally opened as https://github.com/GerbilSoft/rom-properties.reworking/issues/43
Some timestamp formats (e.g. thrp) don't have "seconds" fields, and thus will be displayed like
12:34:00
.I propose introducing a
DateTimeFlag
calledRFT_DATETIME_NO_SECONDS
, which would specify that a timestamp does not represent seconds. Such timestamp should be displayed like12:34
.