diff --git a/script/version_bump.js b/script/version_bump.js index 197dca4196..35ad851f15 100755 --- a/script/version_bump.js +++ b/script/version_bump.js @@ -10,10 +10,10 @@ function patch(version) { function today() { const now = new Date(); - return `${now.getFullYear()}${String(now.getMonth() + 1).padStart( + return `${now.getUTCFullYear()}${String(now.getUTCMonth() + 1).padStart( 2, "0" - )}${String(now.getDate()).padStart(2, "0")}.0`; + )}${String(now.getUTCDate()).padStart(2, "0")}.0`; } function auto(version) {