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

Date.Extra.Config.Config_de_de

This is the default German config for formatting dates.

config : Config.Config

Config for en-us.

Copyright (c) 2017 Frank Schmitt

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

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

@docs config

Copyright (c) 2017 Frank Schmitt

-}

import Date
import Date.Extra.Config as Config
import Date.Extra.I18n.I_de_de as German
import Date.Extra.I18n.I_default as Default


{-| Config for en-us.
-}
config : Config.Config
config =
    { i18n =
        { dayShort = German.dayShort
        , dayName = German.dayName
        , monthShort = German.monthShort
        , monthName = German.monthName
        , dayOfMonthWithSuffix = German.dayOfMonthWithSuffix
        , twelveHourPeriod = Default.twelveHourPeriod
        }
    , format =
        { date = "%-d. %B %Y" -- 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
        }
    }