What happened to Date.floor?
alxvallejo opened this issue · 1 comments
alxvallejo commented
Is there a way to get the reset, midnight date from 9.3.1?
rluiten commented
I changed the floor name a while back to match closer with moment.
Should do what you want.
http://package.elm-lang.org/packages/rluiten/elm-date-extra/9.3.1/Date-Extra-TimeUnit#startOfTime
http://package.elm-lang.org/packages/rluiten/elm-date-extra/9.3.1/Date-Extra-TimeUnit#endOfTime