Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.6.3, 4.7.0, 4.7.1, 4.7.3
-
None
Description
QDateTime has no complete support for DST days.
Such days, (not everywhere, but e.g. in Germany) have only 23 h or 25 h. If they have 25 hours, they have two times 2 o'clock.
If you use the UTC time and convert 3 and 4 o'clock on those days to local time, you get 2 o'clock.
If you convert 2 o'clock local time to UTC you get 4 o'clock. So this it is not correct. If the time would be stored internally as UTC, this could perhaps be solved. For creating applications that collect values of a database that stores it's values in UTC and the UI being in local time, this produces errors.
The problem goes further if you look at QDateTimeEdit, which does not support this too. There you can enter 2:30 on a 23h day. this time does not exist there.