Modul:Chronik: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 27: Zeile 27:
function dateParsing(frame, s, year)
function dateParsing(frame, s, year)
-- Parses a date down where s is the datestring and year can be nil or string
-- Parses a date down where s is the datestring and year can be nil or string
local sd=human_to_form_date(s)
local sds, eds=split(s, '-')
local ed=human_to_form_date(s)
local sd=human_to_form_date(sds)
local ed=human_to_form_date(eds)
local data = {
local data = {
["Startdatum"] = sd,
["Startdatum"] = sd,
82.367

Bearbeitungen