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

isapprox for dates and times #56879

Open
aplavin opened this issue Dec 21, 2024 · 1 comment
Open

isapprox for dates and times #56879

aplavin opened this issue Dec 21, 2024 · 1 comment
Labels
dates Dates, times, and the Dates stdlib module feature Indicates new feature / enhancement requests

Comments

@aplavin
Copy link
Contributor

aplavin commented Dec 21, 2024

Stuff like isapprox(DateTime(...), DateTime(...); atol=Second(2)) makes sense, right? Would be nice to have it in Julia, similar to isapprox for numbers.

@inkydragon inkydragon added the dates Dates, times, and the Dates stdlib module label Dec 21, 2024
@adienes
Copy link
Contributor

adienes commented Dec 21, 2024

atol makes sense but feels like rtol would only be able to work on durations and TimePeriod and not DateTime itself

@nsajko nsajko added the feature Indicates new feature / enhancement requests label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dates Dates, times, and the Dates stdlib module feature Indicates new feature / enhancement requests
Projects
None yet
Development

No branches or pull requests

4 participants