release polish; dx4 1.0 beta
This commit is contained in:
@@ -98,8 +98,8 @@ export function DX4App({
|
||||
if (
|
||||
lessonsEndedTriggered.current ||
|
||||
typeof rasp[1] != "object" ||
|
||||
rasp[1].lenght <= 0 //||
|
||||
//apiFormatDate(selectedDate) !== apiFormatDate(new Date())
|
||||
rasp[1].lenght <= 0 ||
|
||||
apiFormatDate(selectedDate) !== apiFormatDate(new Date())
|
||||
)
|
||||
return;
|
||||
try {
|
||||
@@ -107,7 +107,7 @@ export function DX4App({
|
||||
const tEnd = rasp[1].at(-1)["t-end"];
|
||||
if (!/\d{1,2}:\d{2}$/.test(tEnd)) return; // not time type
|
||||
if (isTimeBeforeNow(tEnd)) {
|
||||
console.log(true);
|
||||
//console.log(true);
|
||||
const d = new Date(selectedDate);
|
||||
d.setDate(d.getDate() + 1);
|
||||
setSelectedDate(d);
|
||||
|
||||
Reference in New Issue
Block a user