EmeraldSnorlax / manjarno

Why you shouldn't use Manjaro
https://manjarno.snorlax.sh/
BSD 3-Clause "New" or "Revised" License
130 stars 13 forks source link

Incorrect date: Month is off by one #16

Closed garrett closed 2 years ago

garrett commented 2 years ago

Thanks for raising awareness of Manjaro's flub-ups! One is a mistake, four times is chronic. :disappointed: People should be able to trust their distribution, whichever one they use — so thanks for pointing this out.


The certificate expired yesterday... while the counting timer shows the right information, the date is off by a month. Most likely: Thanks, JavaScript!

Screenshot:

2022-08-18-092147_002

However: Today's date is 2022-08-18.

It's probably related to Date.getMonth returning current month as a number between 0 and 11, instead of 1 - 12.

EmeraldSnorlax commented 2 years ago

ah, good catch!