Modul:DateTime/local: Unterschied zwischen den Versionen

Aus ÖsterreichWiki
Zur Navigation springen Zur Suche springen
(update)
(updates)
Zeile 1: Zeile 1:
--[=[ 2014-03-01
--[=[ 2014-03-02
Date and time utilities: Localization
Date and time utilities: Localization
mw.loadData() table
mw.loadData() table
Zeile 10: Zeile 10:
             monthsLong  = { },
             monthsLong  = { },
             monthsParse = { },
             monthsParse = { },
            months4    = { },
             sortPrefix  = { },
             sortPrefix  = { },
             templates  = { },
             templates  = { },
Zeile 43: Zeile 44:
     [ 1 ] = "Jänner"
     [ 1 ] = "Jänner"
}
}
p.months4.de = { [ 3 ] = "Mär.",
                [ 6 ] = "Jun.",
                [ 7 ] = "Jul." }
p.sortPrefix.de  = {
p.sortPrefix.de  = {
     { "vor dem",  3 },
     { "vor dem",  3 },
Zeile 62: Zeile 66:
p.templates.de  = {
p.templates.de  = {


-- OBSOLETING
-- OBSOLETING >>>>>
     [ "T. Monat JJJJ hh:mm:ss Zone" ] =
     [ "T. Monat JJJJ hh:mm:ss Zone" ] =
           { spec = "j. F Y",
           { spec = "j. F Y",
Zeile 72: Zeile 76:
     [ "T.Mon JJJJ" ] =
     [ "T.Mon JJJJ" ] =
           { spec = "j. M Y" },
           { spec = "j. M Y" },
-- OBSOLETING
-- OBSOLETING <<<<<
         
 
     [ "T._Monat JJJJ hh:mm:ss Zone" ] =
     [ "T._Monat JJJJ hh:mm:ss Zone" ] =
           { spec = "j.&#160;F Y",
           { spec = "j.&#160;F Y",
Zeile 88: Zeile 92:
     [ "T._Mon4_JJJJ" ] =
     [ "T._Mon4_JJJJ" ] =
           { spec = "j.&#160;M&#160;Y" },
           { spec = "j.&#160;M&#160;Y" },
    [ "T._Monat JJJJ" ] =
          { spec = "j.&#160;F Y" },
     [ "TT.MM.JJJJ" ] =
     [ "TT.MM.JJJJ" ] =
           { spec = "d.m.Y" },
           { spec = "d.m.Y" },

Version vom 2. März 2014, 11:43 Uhr

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-02
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.&#8239;Chr.", "n.&#8239;Chr." }
--p.monthsAbbr.de = { n = 3, suffix = "." }
p.monthsParse.de = {
    [ "Dez" ]         = 12,
    [ "J&auml;nner" ] =  1,
    [ "Jänner" ]      =  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 ] = "Mär.",
                 [ 6 ] = "Jun.",
                 [ 7 ] = "Jul." }
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  = {

-- OBSOLETING >>>>>
    [ "T. Monat JJJJ hh:mm:ss Zone" ] =
          { spec = "j.&#160;F Y",
            lift = true },
    [ "T. Monat JJJJ" ] =
          { spec = "j.&#160;F Y" },
    [ "T. Mon JJJJ" ] =
          { spec = "j.&#160;M Y" },
    [ "T.Mon JJJJ" ] =
          { spec = "j. M Y" },
-- OBSOLETING <<<<<

    [ "T._Monat JJJJ hh:mm:ss Zone" ] =
          { spec = "j.&#160;F Y",
            lift = true },
    [ "dewiki" ] =
          { spec = "H:i, j.&#160;M Y",
            lift = true },
    [ "T._Mon JJJJ" ] =
          { spec = "j.&#160;M Y" },
    [ "T._Mon_JJJJ" ] =
          { spec = "j.&#160;M&#160;Y" },
    [ "T._Mon4 JJJJ" ] =
          { spec = "j.&#160;M Y" },
    [ "T._Mon4_JJJJ" ] =
          { spec = "j.&#160;M&#160;Y" },
    [ "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