This took me a bit to figure out.
Assuming we’re using rluiten/elm-date-extra package
Get your import:
import Date.Config.Config_en_us exposing (config)
Get the DateTime string:
format config “%m/%d/%Y” yourDateTime
This took me a bit to figure out.
Assuming we’re using rluiten/elm-date-extra package
Get your import:
import Date.Config.Config_en_us exposing (config)
Get the DateTime string:
format config “%m/%d/%Y” yourDateTime