summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-11-07 10:58:03 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2017-11-30 20:20:15 +0000
commit6deb0f0dcc202e1be08cb6a2284da266cd0fa956 (patch)
treeffe63e118e345d2abb029905f0853fbbdfa4bb74 /examples
parent35176c22896a6c633408907e8113c3f1b9a846b0 (diff)
Fake a "first transition" at the start of time
QTimeZonePrivate::dataForLocalTime() needs a transition before the time it starts at; MS's time-zone data tends to omit old zones (before 2007, in the case of Win7 for Casablanca - which had interesting transitions before that), so all we can do is extrapolate backwards from there; but a first rule is indeed apt to be a no-transition rule, describing the zone's status up to the first known transition. So fake a "start of time" transition to return for this case, that describes this prefix of history. Change-Id: Iaf178cbebc3b1e599cbde3437a0af75d9f6ca432 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions