calendar range days
This commit is contained in:
@ -65,9 +65,9 @@ export function getCorrectRequestDate(date) {
|
||||
}
|
||||
|
||||
export function getCorrectYYMMDD(date) {
|
||||
const yyyy = String(date.getUTCFullYear());
|
||||
const mm = String(date.getUTCMonth() + 1).padStart(2, "0");
|
||||
const dd = String(date.getUTCDate()).padStart(2, "0");
|
||||
const yyyy = String(date.getFullYear());
|
||||
const mm = String(date.getMonth() + 1).padStart(2, "0");
|
||||
const dd = String(date.getDate()).padStart(2, "0");
|
||||
return `${yyyy}-${mm}-${dd}`;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user