Skip to content

Fixes #3533 - Swap date(time) types in opposite scale #6042

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 11 commits into from
Mar 25, 2025

Conversation

laurabrianna
Copy link
Contributor

In both scale_*date and scale*datetime, added helpful error to suggest using the other type when appropriate ( #3533 )

@thomasp85
Copy link
Member

Thank you for this. On closer inspection I think that we should coerce the data into the right format rather than throw an error

Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

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

@teunbrand would you look into finishing this off?

@teunbrand teunbrand self-assigned this Nov 11, 2024
@teunbrand teunbrand requested a review from thomasp85 November 11, 2024 11:34
@teunbrand teunbrand changed the title Fixes #3533 - helpful error msg on date vs datetime scale Fixes #3533 - Swap date(time) types in opposite scale Nov 11, 2024
Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

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

LGTM

@teunbrand teunbrand merged commit a641f5d into tidyverse:main Mar 25, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants