-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<chrono>: make system_clock::now()
and file_clock
aware of Windows leap second handling
#1588
Closed
statementreply
wants to merge
30
commits into
microsoft:main
from
statementreply:windows-leap-second
Closed
<chrono>: make system_clock::now()
and file_clock
aware of Windows leap second handling
#1588
statementreply
wants to merge
30
commits into
microsoft:main
from
statementreply:windows-leap-second
Commits on May 1, 2021
-
Implement
file_time
↔ UTC conversion with leap second handlingWindows 10 1809 and Windows Server 2019 introduced support for leap seconds (enabled by default, could be disabled system-wide). When leap seconds are enabled, leap seconds after July 2018 are included in the tick count of `FILETIME`. This is different from the old behavior that `FILETIME` doesn't count leap seconds. In the future, the same `FILETIME` value could represent different time points a few seconds apart depending on whether leap second support is available and enabled. This commit implements the core algorithm for conversion between `file_time` and UTC date/time components. It calls Windows `FileTimeToSystemTime` or `SystemTimeToFileTime` to determine the interpretation of `FILETIME` by the underlying system.
Configuration menu - View commit details
-
Copy full SHA for b925e16 - Browse repository at this point
Copy the full SHA b925e16View commit details
Commits on May 4, 2021
-
- Return `enum class` instead of `int` error code from `extern C` functions. - Add more `[[nodiscard]]`. - Remove `_STL_INTERNAL_CHECK` in import lib code, where the checks are never performed. Also modified the fallback behavior for unknown leap second smearing.
Configuration menu - View commit details
-
Copy full SHA for 375fe5a - Browse repository at this point
Copy the full SHA 375fe5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 319e518 - Browse repository at this point
Copy the full SHA 319e518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22ccb75 - Browse repository at this point
Copy the full SHA 22ccb75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a9b591 - Browse repository at this point
Copy the full SHA 2a9b591View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fa5f71 - Browse repository at this point
Copy the full SHA 1fa5f71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c6f625 - Browse repository at this point
Copy the full SHA 5c6f625View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3038de - Browse repository at this point
Copy the full SHA c3038deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f2a5bd - Browse repository at this point
Copy the full SHA 7f2a5bdView commit details
Commits on Jul 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4f3d01c - Browse repository at this point
Copy the full SHA 4f3d01cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a698c6d - Browse repository at this point
Copy the full SHA a698c6dView commit details -
Co-authored-by: Miya Natsuhara <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49bce5a - Browse repository at this point
Copy the full SHA 49bce5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7373b98 - Browse repository at this point
Copy the full SHA 7373b98View commit details
Commits on Aug 21, 2021
-
Merge branch 'main' into windows-leap-second
Conflicts: stl/inc/chrono
Configuration menu - View commit details
-
Copy full SHA for 44d4bbb - Browse repository at this point
Copy the full SHA 44d4bbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a22caf - Browse repository at this point
Copy the full SHA 1a22cafView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e88ec - Browse repository at this point
Copy the full SHA e4e88ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4296d97 - Browse repository at this point
Copy the full SHA 4296d97View commit details
Commits on Aug 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1336e1f - Browse repository at this point
Copy the full SHA 1336e1fView commit details
Commits on Sep 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c5ee629 - Browse repository at this point
Copy the full SHA c5ee629View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96d8501 - Browse repository at this point
Copy the full SHA 96d8501View commit details
Commits on Sep 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0c3c998 - Browse repository at this point
Copy the full SHA 0c3c998View commit details
Commits on Oct 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cb7a139 - Browse repository at this point
Copy the full SHA cb7a139View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5683bc0 - Browse repository at this point
Copy the full SHA 5683bc0View commit details
Commits on Oct 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4767cfe - Browse repository at this point
Copy the full SHA 4767cfeView commit details
Commits on Nov 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d573b1e - Browse repository at this point
Copy the full SHA d573b1eView commit details
Commits on Jan 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 29f5789 - Browse repository at this point
Copy the full SHA 29f5789View commit details
Commits on May 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5b33476 - Browse repository at this point
Copy the full SHA 5b33476View commit details
Commits on Jun 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e609aaa - Browse repository at this point
Copy the full SHA e609aaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd4ce85 - Browse repository at this point
Copy the full SHA fd4ce85View commit details
Commits on Jul 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bdae556 - Browse repository at this point
Copy the full SHA bdae556View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.