-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-48593: [C++] C++20: use standard calendar / timezone APIs #48601
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
Open
rok
wants to merge
72
commits into
apache:main
Choose a base branch
from
rok:cpp20_use_chrono
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+598
−284
Open
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
ee29e0a
first draft
rok 9a90f22
attempt to understand gcc behavior
rok 1d4d846
keep vendored lib for gcc
rok 0572874
simplify with C++20 chrono features
rok 0825be5
Review feedback
rok ad434d0
lint
rok 16dd991
Reference to gcc issue
rok d229dd7
Remove windows tz workarounds
rok 85c33f5
Allow gcc bug on windows
rok 7e595b9
Fix verify RC step
rok 6dd921c
Fix R's tzdb
rok b51047d
Skip failing tests (due to gcc bug)
rok c8895fd
add mingw tzdata
rok 3e70c52
enable std::chrono for mingw
rok ebfe03f
reenable downloading of tzdb for clang64 with mingw on windows
rok 69fb921
download windowsZones.xml, skip CastTimezone.ZonedTimestampToTime
rok d28a9c4
experiment
rok 64821d7
work
rok 9ca3092
experiment
rok 51f4804
another experiment
rok d7102c2
experiment
rok a937824
Reverting some changes
rok cc13cf6
Reverting more changes
rok e4dca03
Review feedback
rok dd17900
doctest
rok e02beb8
Assume gcc13+ for R
rok 246d8e5
deprecate some functions, set deprecation vesion to 24.0.0
rok 51dfaca
skip a test
rok 252bb5f
skip a test
rok e2b6dae
review feedback
rok 37acb88
review feedback
rok 5d38aa3
lint
rok 8bba447
fix two tests and skip another
rok 104bd1d
revert change
rok 00d6420
Skip windows tests in R if tzdb_path doesn't exist
rok 7235e38
Skip timezone tests on windows R if tzdb_path doesn't exist
rok 4d6bf22
python fix
rok b7d6f48
revert R change
rok 98e3ced
R PKGBUILD
rok 5b0a861
python fix
rok 9cf043c
fix ARROW_USE_STD_CHRONO on windows
rok f0e8cbb
use wendored on clang windows
rok 074e46e
cmake change and python tests
rok 89c7c6a
print if assert False
rok 9a6195f
add tzdb for R jobs
rok 1ac7d9f
python skipif message
rok 1b55784
skipif reason argument
rok 9361c21
fix python test
rok f607399
fix python test, tidy up
rok 1c81ba1
tidying up
rok 96cd7ef
supress deprecation warning
rok 90842e6
GlobalOptions initializer
rok 6dd0c46
GlobalOptions
rok 1112805
remove appveyor references
rok 0d4bcf9
Remove more appveyor references
rok 7284897
fix timestamp check
rok d1a6456
try checking full string
rok a4561e2
compare whole timestamp strings on windows
rok 58592ee
temporarily enable problematic test
rok 8ae4a92
fix failing tests
rok 23e8aa9
simplify macro
rok 80e9a39
disable rounding test on windows and rename user-agent
rok 060dd32
lint
rok 32fbc78
don't doctest
rok 2745fb2
minor changes and tzdata to latest
rok cbefb70
iana db to latest
rok 30d4ef2
exclude a problematic timestamp
rok f099df9
comment out another timestamp, remove NOLINT
rok 54c9655
reverting nolint
rok c0dc13e
exclude two timestamps
rok 4c5113f
fixing one-off error
rok cde409e
Update python/pyarrow/tests/test_compute.py
rok 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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ | |
| set -ex | ||
|
|
||
| # Download database | ||
| curl https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz --output ~/Downloads/tzdata.tar.gz | ||
| curl https://data.iana.org/time-zones/tzdata-latest.tar.gz --output ~/Downloads/tzdata.tar.gz | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing here and elsewhere to latest. |
||
|
|
||
| # Extract | ||
| mkdir -p ~/Downloads/tzdata | ||
|
|
||
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
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.
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.