修改每月起始为21号
This commit is contained in:
4
main.js
4
main.js
@@ -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',
|
||||||
|
Reference in New Issue
Block a user