lenards / elm-pandemic-date / PandemicDate

When you feel like time stopped and we're still in March 2020 ...

Function(s)

toPandemicDate : Date -> String

Returns the date in March 2020 that the date feels like it is.

import Time exposing (Month(..))
import Date exposing (Unit(..))
import PandemicDate
PandemicDate.toPandemicDate (Date.fromCalendarDate 2022 Jan 13)

This will return "March 683rd, 2020"