mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2025-03-04 22:37:16 +00:00
Fix up off-by-one error concerning months
getUTCMonth() returns month as 0..11
This commit is contained in:
parent
494be4068f
commit
6d23a1e629
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ function retrieveReleaseInfo() {
|
|||
|
||||
return {
|
||||
"year": d.getUTCFullYear(),
|
||||
"month": d.getUTCMonth(),
|
||||
"month": d.getUTCMonth() + 1,
|
||||
"day": d.getUTCDate()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue