Modul:DateTime/local

Aus ÖsterreichWiki
Zur Navigation springen Zur Suche springen
Diese Vorlage(n) wurde(n) fast unverändert von der deutschsprachigen Wikipedia übernommen. Es wurden nur geringfügige technische, stilistische und organisatorische Anpassungen ans ÖsterreichWiki durchgeführt.

--[=[ 2014-03-12
Date and time utilities: Localization
mw.loadData() table
]=]


-- Export
local p = { era         = { },
            monthsAbbr  = { },
            monthsLong  = { },
            monthsParse = { },
            months4     = { },
            sortPrefix  = { },
            templates   = { },
            zones       = { }
          }
p.slang = "de"
p.era.de = { "v. Chr.", "n. Chr." }
--p.monthsAbbr.de = { n = 3, suffix = "." }
p.monthsParse.de = {
    [ "Dez" ]         = 12,
    [ "Jänner" ] =  1,
    [ "Jänner" ]      =  1,
    [ "Mä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",      3 },
    { "Anfang",   4 },
    { "ab dem",   6 },
    { "ab",       6 },
    { "seit dem", 6 },
    { "seit",     6 },
    { "vom",      6 },
    { "von",      6 },
    { "bis zum",  7 },
    { "bis",      7 },
    { "Ende",     8 },
    { "nach dem", 9 },
    { "nach",     9 }
}
p.sortSep = 44
p.templates.de  = {
    [ "T._Monat JJJJ hh:mm:ss Zone" ] =
          { spec = "j. F Y",
            lift = true },
    [ "dewiki" ] =
          { spec = "H:i, j. M Y",
            lift = true },
    [ "T._Mon JJJJ" ] =
          { spec = "j. M Y" },
    [ "T._Mon4 JJJJ" ] =
          { spec = "j. M Y" },
    [ "T._Mon4_JJJJ" ] =
          { spec = "j. M Y" },
    [ "T._Mon4 JJJJ hh:mm:ss" ] =
          { spec = "j. M Y",
            lift = true },
    [ "T._Mon4_JJJJ hh:mm:ss" ] =
          { spec = "j. M Y",
            lift = true },
    [ "T._Mon4_JJJJ_hh:mm:ss" ] =
          { spec = "j. M Y",
            lift = true },
    [ "T._Mon4 JJJJ hh:mm:ss Zone" ] =
          { spec = "j. M Y",
            lift = true },
    [ "T._Monat JJJJ" ] =
          { spec = "j. 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