Modul:DateTime/local: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
2020-03-01 Special:Permalink/198598810#1_Systemnachricht,_2_BETA
(2020-01-01, https://de.wikipedia.org/w/index.php?title=Wikipedia:Administratoren/Anfragen&curid=6974524&diff=198261848&oldid=198260830) |
|||
Zeile 1: | Zeile 1: | ||
local Serial = "2020- | local Serial = "2020-03-01" | ||
--[=[ | --[=[ | ||
Date and time utilities: Localization Deutsch | Date and time utilities: Localization Deutsch | ||
mw.loadData() table | mw.loadData() table | ||
]=] | ]=] | ||
local Similar = mw.ustring.char( 8776 ) -- ~~ | |||
Zeile 12: | Zeile 13: | ||
monthsParse = { }, | monthsParse = { }, | ||
months4 = { }, | months4 = { }, | ||
sortWeights = { }, | |||
templates = { }, | templates = { }, | ||
zones = { }, | zones = { }, | ||
Zeile 25: | Zeile 26: | ||
suffix = ".", | suffix = ".", | ||
[ 1 ] = { "Jan", "Jän" }, | [ 1 ] = { "Jan", "Jän" }, | ||
[ 3 ] = { "Mär", "Mrz" } | [ 3 ] = { "Mär", "Mrz" } } | ||
p.monthsParse.de = { | p.monthsParse.de = { | ||
[ "Dez" ] = 12, | [ "Dez" ] = 12, | ||
Zeile 57: | Zeile 58: | ||
[ 6 ] = true, | [ 6 ] = true, | ||
[ 7 ] = true } | [ 7 ] = true } | ||
p. | p.present = { date = "j. F Y", | ||
time = "H:i:s", | |||
both = "$date $time" | |||
} | |||
p.sortWeights.de = { | |||
[true] = Similar .. "abecuvs", | |||
["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."] = true, | |||
["etwa"] = true, | |||
["um"] = true, | |||
[Similar] = true | |||
} | } | ||
p.templates = { | p.templates = { | ||
[ "default" ] = | [ "default" ] = | ||
Zeile 131: | Zeile 135: | ||
[ "T._Monat JJJJ" ] = | [ "T._Monat JJJJ" ] = | ||
{ spec = "j. F Y" }, | { spec = "j. F Y" }, | ||
[ "T._Monat_JJJJ" ] = | |||
{ spec = "j. F Y" }, | |||
[ "TT.MM.JJJJ" ] = | [ "TT.MM.JJJJ" ] = | ||
{ spec = "d.m.Y" }, | { spec = "d.m.Y" }, |