Open edbond opened 7 years ago
I have solved using to/from-default-time-zone
functions. Still looks not intuitive to me.
(cljs-time.core/today)
returns a UTC date, whereas local-*
return dates in the user's timezone.
today
is printed as a date without time. That's why it may be confusing. It would be nice to have Date without time for such calculations.
Ah, just looking through the code. This is a bug I think, sorry.
I want to calculate number of days between two dates. What am I missing here?