HealthSamurai / unit-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong date subs

k3nj1g opened this issue · comments

Subtracting from 2022-11-01 gives wrong date, day value is gone.

(unit-map.ops/minus {:year 2022, :month 11, :day 1} {:month 1})
;; => {:year 2022, :month 10}

I guess it was designed to subtract date from date. My bad xD