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

ceiling_date() issue when using multi units #1162

Open
mmollayi opened this issue Apr 8, 2024 · 0 comments
Open

ceiling_date() issue when using multi units #1162

mmollayi opened this issue Apr 8, 2024 · 0 comments

Comments

@mmollayi
Copy link

mmollayi commented Apr 8, 2024

I noticed strange behavior when using ceiling_date() with multi units and I'm not sure if this is intended or is a bug:

lubridate::ceiling_date(as.Date("2024-01-31"), "2 days")
#> [1] "2024-02-05"
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

No branches or pull requests

1 participant