elm-date-extra icon indicating copy to clipboard operation
elm-date-extra copied to clipboard

What happened to Date.floor?

Open alxvallejo opened this issue 6 years ago • 1 comments

Is there a way to get the reset, midnight date from 9.3.1?

alxvallejo avatar Jul 25 '18 17:07 alxvallejo

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

rluiten avatar Jul 25 '18 20:07 rluiten