Closed avhz closed 4 months ago
This is a deliberate omission that was present in v0.2 but removed in v0.3. Assuming a time zone is not an acceptable tradeoff.
No worries.
Could you clarify what you mean? I must be missing something.
Where does the time zone data come into play if it returns a Date
?
It isn't the same day everywhere on earth.
Ah I see what you mean. Cheers!
Hi, thanks for the great library.
Just wondering if there could be a method added to get a
Date
with today's date.OffsetDateTime
has.now_utc()
for example, which means I can do something like:But I thought it might be convenient for
Date
to have its own now method. e.g.Happy to adjust the PR if needed of course.