summaryrefslogtreecommitdiffstats
path: root/LICENSE.GPL3-EXCEPT
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-02-23 10:53:27 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2022-03-10 13:42:35 +0100
commit47a2a235311df1546a440e4efb932a5cf56a63eb (patch)
tree42ee50b84b5571ae1ec6c8d558b2fb6d58d41d65 /LICENSE.GPL3-EXCEPT
parent23302149f24548f1bf658f630def4cde8374af2b (diff)
Consistently treat times before first rule as in its standard time
In QWinTimeZonePrivate::previousTransition(), an initial no-transition first rule was interpreted as implying a transition to its standard time at "the start of time". Do the same for times before the start of the first rule even if it is a DST recurrence; and, in data(), treat times before the first rule as being in its standard time. In the process, restructure data() to do that early return first, instead of in an else clause, so as to dedent the other branch of its code and make clearer how it fits into its outer loop. Change-Id: I21482d904c33542bf04f6510b974c01817d7aa5f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 8bf0fbca70035d18e3b2d15dde0b67cf1d5fd5a9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'LICENSE.GPL3-EXCEPT')
0 files changed, 0 insertions, 0 deletions