Hopp til innhold

Moduldiskusjon:Årstall

Sideinnholdet støttes ikke på andre språk.
Fra Wikipedia, den frie encyklopedi

Century error

[rediger kilde]

Hi and sorry for writing in English. A while ago we imported your module to rowiki and now I was changing it to display centuries with roman numerals. During this work I discovered an error: the century is presented as being from xx00-xx99 instead of xx01-xy00. See for instance 2000 which is presented as being part of the 21st century. If you want to fix this, the first line in the function aarhundre needs to read if avrund(s, -2) >= tonumber(s) then.--Strainu (diskusjon) 24. aug. 2020 kl. 09:53 (CEST)[svar]

@Strainu: Fixed, thanks for notifying us about this incident. - Premeditated (diskusjon) 24. aug. 2020 kl. 10:10 (CEST)[svar]