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

Non-finite dates plus seconds / minutes / hours should yield datetime #834

Closed
keesdeschepper opened this issue Nov 27, 2019 · 2 comments
Closed

Comments

@keesdeschepper
Copy link

See #828 (comment).
A non-finite date plus e.g. seconds now yields an object of class Date:

class(as_date(NA) + seconds(1))
#> "Date"

It makes more sense if this yields an object of class POSIXct.

@vspinu
Copy link
Member

vspinu commented Nov 29, 2019

This is internally the same as #831 , but ok.

@vspinu
Copy link
Member

vspinu commented Nov 2, 2022

forgot to close this one

@vspinu vspinu closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants