-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-16407: [R] Extend parse_date_time to cover hour, dates, and minutes components
#13196
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
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
582d295
a nicer, mode extensible version of `build_format_from_order()` (less…
dragosmg c636bcb
extend the supported orders + unit tests
dragosmg c38a993
add support for `truncated` and `quiet` arguments
dragosmg 5b2445a
more unit tests
dragosmg c5e2752
all tests back in
dragosmg fa47c9c
support `ymd HMS` and `ymdHMS` orders
dragosmg 8ea9845
test `ydmHM` and `ydmH` orders
dragosmg 5e44e06
reorganised tests so we can skip locale-dependent ones on windows
dragosmg 93346ee
removed commented code referenced #13174
dragosmg 3b213f9
added support (and unit tests) for unseparated strings
dragosmg 715201d
update NEWS
dragosmg 5353532
orders without `"_"`
dragosmg 57c02d6
lint
dragosmg ecc62ba
unit test for `exact = TRUE`
dragosmg f4897c1
refactored `parse_date_time()` with several helper functions
dragosmg 81468f3
move `build_formats` inside `attempt_parsing`, since it won't be used…
dragosmg e9cd0e9
when `exact = TRUE` go directly to `build_strptime_exps()`
dragosmg a72659f
assert warning message originating in the dplyr pipeline
dragosmg edb76cc
limit `truncated` to `nchar(orders) - 3` + unit test
dragosmg 1c39c7c
support hours as `"%I"` + unit tests
dragosmg ad12187
simplified `attempt_parsing()`
dragosmg 384bc0a
minor
dragosmg 0e539d8
add support and unit tests for `"qy"` order + document `process_data_…
dragosmg 63acafc
unit test clean-up
dragosmg b492c30
comments
dragosmg 163d895
comment + removed `browser()`
dragosmg 856f402
test `"IMS"` with hour greater than 12
dragosmg 56ad69c
comment + reflow
dragosmg 8aefd2c
make the ims string unanbiguous
dragosmg 600a6ff
comment
dragosmg c5ee8ad
docs + change in approach if `x` has or doesn't have a `"-"` separator
dragosmg e8bc62d
update tests
dragosmg aa616e5
regular R objects as input + tests
dragosmg 2ddcd5e
merged test_that blocks
dragosmg ecfd70a
added some tests for `build_formats()` (not finished)
dragosmg f93e038
update comment
dragosmg 323fe4f
add a first battery of tests for `build_formats()`
dragosmg 4115f41
handle `Yq`, `qY`, `mY` and `Ym` + unit tests
dragosmg c48425f
clean-up
dragosmg b8c6900
switch to the previous implementation, where `build_format_from_order…
dragosmg 13eac86
updated `build_formats()` unit tests
dragosmg 7d2d856
document `build_formats()` and `build_format_from_order()`
dragosmg 4311ae6
more unit tests for `build_formats()` and `build_format_from_order()`
dragosmg 423eb50
update
dragosmg 4a5e62f
style
dragosmg b1f35ff
reorganised unit tests
dragosmg 5fc561f
skip test on win & R 3.6
dragosmg 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
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.