Modul:Zeit: Unterschied zwischen den Versionen
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 160: | Zeile 160: | ||
local jahr = lang:formatDate ( 'Y' ) | local jahr = lang:formatDate ( 'Y' ) | ||
local differenz = os.difftime ( os.time(), os.time ( { year = jahr, month = '01', day = '01' } ) ) | local differenz = os.difftime ( os.time(), os.time ( { year = jahr, month = '01', day = '01' } ) ) | ||
tage = math.floor ( differenz / 86400 +0.5 ) | |||
if tage < 78 then ausgabe = winter | |||
else | |||
end | |||
end | end | ||