-
Notifications
You must be signed in to change notification settings - Fork 1.6k
<chrono> Formatting: C++20's Final Boss
#1870
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
Merged
StephanTLavavej
merged 41 commits into
microsoft:main
from
StephanTLavavej:merge_chronat2
Apr 23, 2021
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
2118d1e
Squashed chronat changes.
StephanTLavavej 33e3804
Fix tests.
StephanTLavavej cdfa88c
charT -> char mod/type, small bugfix and nits
eldakesh-ms 0aeb5ea
chronat: Add year and year_month_day formatting (#1840)
eldakesh-ms 206727e
Add hh_mm_ss operator<<
eldakesh-ms 1cb654b
Fix tests
eldakesh-ms e7b705a
ymd has info for weekday too
mnatsuhara 5505ea3
add test for u w
mnatsuhara 4c236a3
Various cleanups. (#1842)
StephanTLavavej 5bf0c50
Modifier table update
eldakesh-ms 1187292
Update the modifier table, use uint8_t.
StephanTLavavej 838cd1f
Robuster OOB handling
eldakesh-ms 3a19af7
Add general time filler
eldakesh-ms 889fe20
Remove failed type checks
eldakesh-ms 7ee91b1
Add/centralize formatters, replace operators.
StephanTLavavej 48eb7f8
Update libcxx skips.
StephanTLavavej 84760ea
Add hh_mm_ss formatter
eldakesh-ms 29b7094
Add month_day, month_day_last, and year_month formatting
eldakesh-ms f6ba00d
Expand functionality of _Try_simple_write into _Custom_write
eldakesh-ms 0814ca2
chronat: Allow day from month_day_last conditionally (#1845)
eldakesh-ms a0f6558
chronat: Clock formatting (#1846)
eldakesh-ms d418366
wd, wdi formatting (#1847)
mnatsuhara 8aeda0c
Only throw on hh_mm_ss if the hour field is used and is OOB
eldakesh-ms 6c06f23
`<chrono>` formatting: fix UB, various cleanups (#1848)
StephanTLavavej d718499
`<chrono>`: Implement exception class constructors (#1849)
StephanTLavavej d705b61
`<chrono>` formatting: `weekday_last`, `month_weekday`, `month_weekda…
StephanTLavavej 1f874eb
`<chrono>` formatting: More cleanups (#1857)
StephanTLavavej c06416c
`<chrono>` formatting: Simplify test (#1859)
StephanTLavavej 229dfde
chronat: Add duration formatter (#1861)
eldakesh-ms 39c722f
`<chrono>` formatting: `sys_info`, `local_info`, feature-test macro (…
StephanTLavavej d69d7ba
Add local_time_format() and zoned_time. (#1863)
StephanTLavavej 65ad8a7
<chrono>: Add %j support and expand %aAuw (#1864)
eldakesh-ms d488200
<chrono: Rewrite %r spec for C locale (#1865)
eldakesh-ms cc2651d
<chrono>: Fix hh_mm_ss subsecond formatting for floats (#1866)
eldakesh-ms cec735c
<chrono>: Fix utc_clock seconds formatting (#1868)
eldakesh-ms e015c35
`<chrono>` formatting: extend `%r`, add `%g %G %U %V %W` (#1869)
StephanTLavavej d652eab
<chrono>: Fine grained bounds checking (#1871)
eldakesh-ms 360e631
Fixes two-digit year for negative centuries. (#1872)
MattStephanson bd5b397
Use run_tz_test to catch exceptions and handle internal machines.
StephanTLavavej 7c177d0
Validate year_month::ok() for %g %G.
StephanTLavavej ab1001c
We don't need _No_chrono_specs.
StephanTLavavej File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.