Op den Inhalt sprangen

Modul:DateTime/local

Vu Wikipedia

D'Dokumentatioun fir dëst Modul kann op Modul:DateTime/local/doc ugeluecht ginn

local Serial = "2024-07-03"
--[=[
Date and time utilities: Localization  Luxemburgisch
mw.loadData() table
]=]


-- Export
local p = { era         = { },
            monthsAbbr  = { },
            monthsLong  = { },
            monthsParse = { },
            months4     = { },
            sortPrefix  = { },
            templates   = { },
            zones       = { },
            failsafe    = Serial
          }
p.slang = "lb"
p.era.lb = { "v. Chr.", "n. Chr." }
p.monthsAbbr.lb = { n      = 3,
                    suffix = "" }
p.monthsParse.lb = {
    [ "Mäerz" ]       =  3,
    [ "Mäerz" ]  =  3,
    [ "Mäe" ]         =  3,
    [ "Mäe" ]    =  3,
    [ "Abr" ]         =  4,
    [ "Mee" ]         =  5,
    [ "Okt" ]         = 10,
    [ "Dez" ]         = 12
	
}
p.monthsLong.lb = {
    "Januar",
    "Februar",
    "Mäerz",
    "Abrëll",
    "Mee",
    "Juni",
    "Juli",
    "August",
    "September",
    "Oktober",
    "November",
    "Dezember"
}
p.months4.lb = { [ 5 ] = true,
                 [ 6 ] = true,
                 [ 7 ] = true
}
p.present = { date = "j. F Y",
              time = "H:i:s",
              both = "$date $time"
}
p.sortPrefix.lb  = {
    { "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. M Y",
            long = true },
    [ "$dmy" ] =
          { spec = "H:i, j. M Y",
            long = true },
    [ "$dmyt" ] =
          { spec = "j. M Y, H:i",
            long = true },
    [ "$dmyts" ] =
          { spec = "j. M Y, H:i:s",
            long = true },
    [ "data-sort-type:date" ] =
          { spec = "j. M Y" },
    [ "lbwiki" ] =
          { spec = "H:i, j. M Y",
            lift = true,
            long = true }
}
p.templates.lb  = {
    [ "D._Mount JJJJ hh:mm:ss Zone" ] =
          { spec = "j. F Y",
            lift = true,
            long = true },
    [ "D._Mon JJJJ" ] =
          { spec = "j. M Y" },
    [ "D._Mon4 JJJJ" ] =
          { spec = "j. M Y" },
    [ "D._Mon4_JJJJ" ] =
          { spec = "j. M Y" },
    [ "D._Mon4 JJJJ hh:mm:ss" ] =
          { spec = "j. M Y",
            lift = true },
    [ "D._Mon4_JJJJ hh:mm:ss" ] =
          { spec = "j. M Y",
            lift = true },
    [ "D._Mon4_JJJJ_hh:mm:ss" ] =
          { spec = "j. M Y",
            lift = true },
    [ "D._Mon4 JJJJ hh:mm:ss Zone" ] =
          { spec = "j. M Y",
            lift = true,
            long = true },
    [ "D._Mount JJJJ" ] =
          { spec = "j. F Y" },
    [ "TT.MM.JJJJ" ] =
          { spec = "d.m.Y" },
    [ "T.M.JJJJ" ] =
          { spec = "j.n.Y" }
}
p.zones.lb = {
    MEZ  =   100,
    MESZ =   200
}

return p