Skip to content
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

ARROW-14124: [R] Timezone support in R <= 3.4 #11250

Closed
wants to merge 2 commits into from

Conversation

jonkeane
Copy link
Member

No description provided.

@github-actions
Copy link

@github-actions
Copy link

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@jonkeane
Copy link
Member Author

@github-actions crossbow submit test-r-versions

@github-actions
Copy link

Revision: 995ff93

Submitted crossbow builds: ursacomputing/crossbow @ actions-856

Task Status
test-r-versions Github Actions


# See comment regarding %S flag in strftime tests
expect_dplyr_equal(
input %>%
mutate(x = format_ISO8601(x, precision = "ymdhms", usetz = TRUE)) %>%
mutate(x = format_ISO8601(x, precision = "ymdhms", usetz = FALSE)) %>%
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This diff and the one above it make this a bit confusing. What I actually did was moved the usetz = FALSE block up above into the if/else gated on R version. But git took that to mean I deleted the usetz = FALSE and then changed the FALSE to TRUE here.

Both cases are still in this file, and for anything R 3.5 and higher we test that it works, for < 3.5 we test the error

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see usetz = FALSE in the green if/else above, they all say TRUE, am I missing something?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, the error only happens when usetz = TRUE (hence those are the only ones in the if/else). With use tz = FALSE arrow can (and does) strftime() without complaint.

ViniciusSouzaRoque pushed a commit to s1mbi0se/arrow that referenced this pull request Oct 20, 2021
Closes apache#11250 from jonkeane/r-timezone-34

Authored-by: Jonathan Keane <jkeane@gmail.com>
Signed-off-by: Neal Richardson <neal.p.richardson@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants