Update day algorithm
parent
77d7e1056d
commit
6a8aef9c09
|
@ -84,9 +84,10 @@ export function Index() {
|
|||
const tempHolder: Record<string, Schedule[]> = {};
|
||||
for (const schedule of scheduleChunk) {
|
||||
const parseDatetime = dayjs(schedule.departure_datetime).diff(
|
||||
dayjs(),
|
||||
dayjs().startOf('day'),
|
||||
"days"
|
||||
);
|
||||
|
||||
if (parseDatetime == 0) {
|
||||
if (
|
||||
!(
|
||||
|
|
Loading…
Reference in New Issue