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

Date.Extra.Config.Config_ja_jp

This is the Japanese config for formatting dates.

config : Config.Config

Config for ja_jp.

Copyright (c) 2017 Yosuke Torii

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

{-| This is the Japanese config for formatting dates.

@docs config

Copyright (c) 2017 Yosuke Torii

-}

import Date
import Date.Extra.Config as Config
import Date.Extra.I18n.I_ja_jp as Japanese
import Date.Extra.I18n.I_default as Default


{-| Config for ja_jp.
-}
config : Config.Config
config =
    { i18n =
        { dayShort = Japanese.dayShort
        , dayName = Japanese.dayName
        , monthShort = Japanese.monthShort
        , monthName = Japanese.monthName
        , dayOfMonthWithSuffix = Japanese.dayOfMonthWithSuffix
        , twelveHourPeriod = Default.twelveHourPeriod
        }
    , format =
        { date = "%Y/%-m/%-d"
        , longDate = "%Y年%-m月%-d日(%a)"
        , time = "%-H:%M"
        , longTime = "%-H時%M分%S秒"
        , dateTime = "%Y/%-m/%-d %-H:%M"
        , firstDayOfWeek = Date.Mon
        }
    }