summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-09-01 18:24:30 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-09-07 15:53:16 +0200
commit6c624c80fd9f2b5d43dabf955ef42657c8d029bd (patch)
tree0e361dbdebeefda804513efce19c78a9fd9a111a /src/tools
parent6616823fb783c60186e50b5507902c3f9ec5760f (diff)
Avoid recomputing DST-ness for time-zone when already known
When a QDateTime is constructed it determines whether daylight-saving time is in effect and records it in its status field. So consult that cached answer first, before asking the time-zone backend to work out the answer the slow way. Change-Id: I1d380d41f28a9b866216ac0f65425c30a8988cac Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions