- Add
utc-now
- Add
IHash
implementation for goog.date.Date and DateTime, so they can be used in sets and as map keys
- Delegate equality check to underlying goog.date.* implementation, instead of comparing string representations
distance-in-words
now renders approximate weeks; month ranges were adjusted
- add
distance-in-words
, to render relative time strings like "3 months ago" - add
leap-year?
- BREAKING:
assoc
with a keyword that isn't understood now throws anex-info
- Support parsing dates with single digit month/day, like 2021-7-5
- Stop relying on a private goog.date function, reimplement it ourselves instead
- First public release of the API
format
now better handles nanoseconds of#time/time
types- Default format strings use the correct pattern for years (
yyyy
instead ofYYYY
)
add-interval
now takes a map instead of positional arguments