sched: add clkinfo text for events

pull/3579/head
Rob Pilling 2024-10-06 11:16:09 +01:00
parent a5a915e38a
commit 5671c8bbe0
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@
time += "m";
return time;
}
if(a.date){
const d = new Date(a.date);
return `${d.getDate()} ${require("locale").month(d, 1)}`;
}
return require("time_utils").formatTime(a.t);
}