release polish; dx4 1.0 beta

This commit is contained in:
2025-11-10 15:12:56 +03:00
parent 4d01725955
commit 641a12bb0f
4 changed files with 461 additions and 466 deletions
+3 -3
View File
@@ -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);