Modifications

Sauter à la navigation Sauter à la recherche

Module:Date

248 octets ajoutés, 11 février 2019 à 19:04
aucun résumé de modification
function date.p2u( dt )
d = mw.text.split( dt.args[1], '/')
day = tonumber(d[1])
month = tonumber(d[2])
year = tonumber(d[3])
u = floor((year+4495)*365.25)- 241 + day +(month-5)*30 + _if(month>6, 1) + _if(month>9 and year%4==1, 1) - _if(month<5, 1) - _if(month < 4, 1) - _if(month < 2, 1)
return d
end
743
modifications

Menu de navigation