Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[expressions] Treat all datetime values as UTC when comparing
While QDateTime has innate handling of timezones, we don't expose these ANYWHERE in QGIS. So to avoid confusion where seemingly equal datetime values give unexpected results (due to different hidden timezones), we force all datetime comparisons to treat all datetime values as having the same time zone We should revisit this when/if we start exposing time zone handling on a user level
- Loading branch information
1 parent
9dfa715
commit 16fd1a8
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters