This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.

Date.Extra.Config.Config_et_ee

This is the default Estonian config for formatting dates.

config : Config.Config

Config for en-us.

Copyright (c) 2016-2018 Robin Luiten

module Date.Extra.Config.Config_et_ee exposing (..)

{-| This is the default Estonian config for formatting dates.

@docs config

Copyright (c) 2016-2018 Robin Luiten

-}

import Date
import Date.Extra.Config as Config
import Date.Extra.I18n.I_et_ee as Estonian
import Date.Extra.I18n.I_default as Default


{-| Config for en-us.
-}
config : Config.Config
config =
    { i18n =
        { dayShort = Estonian.dayShort
        , dayName = Estonian.dayName
        , monthShort = Estonian.monthShort
        , monthName = Estonian.monthName
        , dayOfMonthWithSuffix = Estonian.dayOfMonthWithSuffix
        , twelveHourPeriod = Default.twelveHourPeriod
        }
    , format =
        { date = "%-d. %b %Y. a" -- d. M YYYY. a
        , longDate = "%A, %-d. %B %Y" -- dddd, dd. MMMM yyyy
        , time = "%-H:%M" -- h:mm
        , longTime = "%-H:%M:%S" -- h:mm:ss
        , dateTime = "%a, %-d. %b %Y. %-H:%M:%S" -- date + time
        , firstDayOfWeek = Date.Mon
        }
    }