Modul:DateTime/local

< Modul:DateTime
Version vom 11. Juli 2018, 18:18 Uhr von ICON (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „local Serial = "2016-11-24" --[=[ Date and time utilities: Localization Deutsch mw.loadData() table ]=] -- Export local p = { era = { },…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Die Dokumentation für dieses Modul kann unter Modul:DateTime/local/Doku erstellt werden

local Serial = "2016-11-24"
--[=[
Date and time utilities: Localization  Deutsch
mw.loadData() table
]=]


-- Export
local p = { era         = { },
            monthsAbbr  = { },
            monthsLong  = { },
            monthsParse = { },
            months4     = { },
            sortPrefix  = { },
            templates   = { },
            zones       = { },
            failsafe    = Serial
          }
p.slang = "de"
p.era.de = { "v.&#8239;Chr.", "n.&#8239;Chr." }
p.monthsAbbr.de = { n      = 3,
                    suffix = ".",
                    [ 3 ]  = { "Mär", "Mrz" } }
p.monthsAbbr[ "de-at" ] = { n      = 3,
                            suffix = ".",
                            [ 1 ]  = { "Jan", "Jän" },
                            [ 3 ]  = { "Mär", "Mrz" }  }
p.monthsParse.de = {
    [ "Dez" ]         = 12,
    [ "Feber" ]       =  2,
    [ "Jänner" ]      =  1,
    [ "J&auml;nner" ] =  1,
    [ "J&auml;n" ]    =  1,
    [ "M&auml;rz" ]   =  3,
    [ "Mrz" ]         =  3,
    [ "Mär" ]         =  3,
    [ "Okt" ]         = 10
}
p.monthsLong.de = {
    "Januar",
    "Februar",
    "März",
    "April",
    "Mai",
    "Juni",
    "Juli",
    "August",
    "September",
    "Oktober",
    "November",
    "Dezember"
}
p.monthsLong[ "de-at" ] = {
    [ 1 ] = "Jänner"
}
p.months4.de = { [ 3 ] = true,
                 [ 6 ] = true,
                 [ 7 ] = true }
p.sortPrefix.de  = {
    { "vor dem",   3 },
    { "vor etwa",  3 },
    { "vor",       3 },
    { "Anfang",    4 },
    { "ab dem",    6 },
    { "ab etwa",   6 },
    { "ab",        6 },
    { "seit dem",  6 },
    { "seit etwa", 6 },
    { "seit",      6 },
    { "vom",       6 },
    { "von",       6 },
    { "bis zum",   7 },
    { "bis etwa",  7 },
    { "bis um",    7 },
    { "bis",       7 },
    { "Ende",      8 },
    { "nach dem",  9 },
    { "nach etwa", 9 },
    { "nach",      9 },
    { "ca%.",      false },
    { "etwa",      false },
    { "um",        false }
}
p.sortSep   = 44
p.templates = {
    [ "default" ] =
          { spec = "H:i, j.&#160;M Y",
            long = true },
    [ "$dmy" ] =
          { spec = "H:i, j.&#160;M Y",
            long = true },
    [ "$dmyt" ] =
          { spec = "j.&#160;M Y, H:i",
            long = true },
    [ "$dmyts" ] =
          { spec = "j.&#160;M Y, H:i:s",
            long = true },
    [ "data-sort-type:date" ] =
          { spec = "j. M Y" },
    [ "dewiki" ] =
          { spec = "H:i, j.&#160;M Y",
            lift = true,
            long = true }
}
p.templates.de  = {
    [ "T._Monat JJJJ hh:mm:ss Zone" ] =
          { spec = "j.&#160;F Y",
            lift = true,
            long = true },
    [ "T._Mon JJJJ" ] =
          { spec = "j.&#160;M Y" },
    [ "T._Mon4 JJJJ" ] =
          { spec = "j.&#160;M Y" },
    [ "T._Mon4_JJJJ" ] =
          { spec = "j.&#160;M&#160;Y" },
    [ "T._Mon4 JJJJ hh:mm:ss" ] =
          { spec = "j.&#160;M Y",
            lift = true },
    [ "T._Mon4_JJJJ hh:mm:ss" ] =
          { spec = "j.&#160;M&#160;Y",
            lift = true },
    [ "T._Mon4_JJJJ_hh:mm:ss" ] =
          { spec = "j.&#160;M&#160;Y",
            lift = true },
    [ "T._Mon4 JJJJ hh:mm:ss Zone" ] =
          { spec = "j.&#160;M Y",
            lift = true,
            long = true },
    [ "T._Monat JJJJ" ] =
          { spec = "j.&#160;F Y" },
    [ "TT.MM.JJJJ" ] =
          { spec = "d.m.Y" },
    [ "T.M.JJJJ" ] =
          { spec = "j.n.Y" }
}
p.zones.de = {
    MEZ  =   100,
    MESZ =   200
}

return p