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

Date.Extra.Config.Config_pt_br

This is the Brazilian Portuguese config for formatting dates.

config : Config.Config

Config for pt-br.

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

{-| This is the Brazilian Portuguese config for formatting dates.

@docs config

-}

import Date
import Date.Extra.Config as Config
import Date.Extra.I18n.I_pt_br as Portuguese
import Date.Extra.I18n.I_default as Default


{-| Config for pt-br.
-}
config : Config.Config
config =
    { i18n =
        { dayShort = Portuguese.dayShort
        , dayName = Portuguese.dayName
        , monthShort = Portuguese.monthShort
        , monthName = Portuguese.monthName
        , dayOfMonthWithSuffix = Portuguese.dayOfMonthWithSuffix
        , twelveHourPeriod = Default.twelveHourPeriod
        }
    , format =
        { date = "%d/%m/%Y"
        , longDate = "%A, %-d de %B de %Y"
        , time = "%H:%M"
        , longTime = "%H:%M:%S"
        , dateTime = "%d/%m/%Y %H:%M"
        , firstDayOfWeek = Date.Sun
        }
    }