Fix up off-by-one error concerning months

getUTCMonth() returns month as 0..11
This commit is contained in:
Laurent Monin 2014-10-18 14:33:07 +02:00
parent 494be4068f
commit 6d23a1e629

View file

@ -52,7 +52,7 @@ function retrieveReleaseInfo() {
return {
"year": d.getUTCFullYear(),
"month": d.getUTCMonth(),
"month": d.getUTCMonth() + 1,
"day": d.getUTCDate()
}
}