Make version number based on UTC time (#8796)
parent
8301dffb21
commit
05ea3b8187
|
@ -10,10 +10,10 @@ function patch(version) {
|
||||||
|
|
||||||
function today() {
|
function today() {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
return `${now.getFullYear()}${String(now.getMonth() + 1).padStart(
|
return `${now.getUTCFullYear()}${String(now.getUTCMonth() + 1).padStart(
|
||||||
2,
|
2,
|
||||||
"0"
|
"0"
|
||||||
)}${String(now.getDate()).padStart(2, "0")}.0`;
|
)}${String(now.getUTCDate()).padStart(2, "0")}.0`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function auto(version) {
|
function auto(version) {
|
||||||
|
|
Loading…
Reference in New Issue