Zum Inhalt springen

Modul:Zeit: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 174: Zeile 174:
local tag = args['tag'] or lang:formatDate ( 'd' )
local tag = args['tag'] or lang:formatDate ( 'd' )


return os.date ( ausgabeFormat, os.time ({ year = tostring ( jahr + math.floor ( anzahl/12 ) ), month = tostring ( monat + anzahl - ( math.floor ( anzahl/12 ) * 12 ) ), day = tag }) )
return os.date ( ausgabeFormat, { year = tostring ( jahr + math.floor ( anzahl/12 ) ), month = tostring ( monat + anzahl - ( math.floor ( anzahl/12 ) * 12 ) ), day = tag } )
end
end


return zeit
return zeit
Anonymer Benutzer