-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add systemTimeZoneId() to the C++20 tzdb backend of QTimeZone
It's not strictly necessary, but it should be a little more efficient. Without it, QTZ::systemTimeZoneId() falls back to using the id() of a default-constructed backend, QChronoTZP(), which will get the same answer returned here, but we can avoid the need for that fall-back by doing the right lookup to begin with. Change-Id: I6fe5beba048b5e9817b6bfed6eba785b13c2c206 Reviewed-by: Thiago Macieira <[email protected]>
- Loading branch information
1 parent
74c481b
commit 92d24e5
Showing
2 changed files
with
11 additions
and
0 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