15.075
Bearbeitungen
Keine Bearbeitungszusammenfassung |
(debug humanToFormDate()) |
||
| Zeile 68: | Zeile 68: | ||
function p.humanToFormDate(date) | function p.humanToFormDate(date) | ||
mw.log("p.humanToFormDate(date)") | |||
mw.logObject(date) | |||
-- Converts a human date (3. Februar 1955) to 1955/02/03, like SMW needs | -- Converts a human date (3. Februar 1955) to 1955/02/03, like SMW needs | ||
local date_array=str.split(date, " ") | local date_array=str.split(date, " ") | ||