Reporting and TZ updates
This commit is contained in:
@@ -686,15 +686,12 @@
|
||||
|
||||
function addDays(date, days) {
|
||||
const next = new Date(date);
|
||||
next.setDate(next.getDate() + days);
|
||||
next.setUTCDate(next.getUTCDate() + days);
|
||||
return next;
|
||||
}
|
||||
|
||||
function getLocalDateString(date) {
|
||||
const year = date.getFullYear();
|
||||
const month = String(date.getMonth() + 1).padStart(2, '0');
|
||||
const day = String(date.getDate()).padStart(2, '0');
|
||||
return `${year}-${month}-${day}`;
|
||||
return date.toISOString().split('T')[0];
|
||||
}
|
||||
|
||||
function renderRequestList() {
|
||||
|
||||
Reference in New Issue
Block a user