Switch semver to verkit in release script (#19976)

This commit is contained in:
fisker Cheung authored and GitHub committed 2026-09-23 13:09:48 +08:00
1 parent cc6edc3e93
commit 0fc9e3eab8
12 files changed
+37 -44

No files matched your search

+4 -4
View File
@@ -1,11 +1,11 @@
// TODO: Implement this in `utilities.js` when jest.importActual is landed.
export default function getFormattedDate() {
const date = new Date();
const isoStr = date.toISOString();
const isoString = date.toISOString();
const year = isoStr.slice(0, 4);
const month = isoStr.slice(5, 7);
const day = isoStr.slice(8, 10);
const year = isoString.slice(0, 4);
const month = isoString.slice(5, 7);
const day = isoString.slice(8, 10);
return { year, month, day };
}