修改每月起始为21号

This commit is contained in:
2025-07-20 19:34:25 +08:00
parent dc2d79b84c
commit bdfba57427

View File

@@ -14760,8 +14760,8 @@
month += 12; month += 12;
year--; year--;
} }
const firstDay = new Date(year, month - 1, 20); const firstDay = new Date(year, month - 1, 21);
const lastDay = new Date(year, month, 19); const lastDay = new Date(year, month, 20);
const formatLocal = (date) => { const formatLocal = (date) => {
return date.toLocaleDateString('en-CA', { return date.toLocaleDateString('en-CA', {
year: 'numeric', year: 'numeric',