diff options
author | Mike FABIAN <mike.fabian@basyskom.de> | 2010-05-10 17:54:05 +0200 |
---|---|---|
committer | Mike FABIAN <mike.fabian@basyskom.de> | 2010-05-11 10:02:13 +0200 |
commit | 61e25049c1b62caf184ba783901b186e6413df29 (patch) | |
tree | a59b5f5f5861217b96790a6bfc0bb62b6c1ab3be /mkspecs/common.pri | |
parent | 47e91bd477f7e903e8bffe6116e1cb58856b22fd (diff) |
Changes: make %H and %I behave correctly according to the standard
RevBy: John Tapsell
Details:
The ISO-14652 standard
(http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf), the
man page of “date”, and the man page of “strftime” agree that %H
should be the hour using a 24-hour clock from 00-23 (and *not* from
01-24) and that %I should the hour using a 12-hour clock from
01-12 (and *not* from 00-11):
%H Hour (24-hour clock), as a decimal number (00-23).
%I Hour (12-hour clock), as a decimal number (01-12).
Therefore, use "HH" to format %H with ICU and "hh" to format %I
with ICU.
Problem reported by Chitrang Srivastava.
Diffstat (limited to 'mkspecs/common.pri')
0 files changed, 0 insertions, 0 deletions