Changes for page Home

Last modified by Benjamin Fischer on 2025/06/04 14:20

From version 72.38
edited by Benjamin Fischer
on 2024/11/06 15:08
Change comment: There is no comment for this version
To version 72.36
edited by Benjamin Fischer
on 2024/11/06 15:02
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -21,11 +21,7 @@
21 21   E("tr", months.map(m => E("td", m.format(chf))))),
22 22   E("tbody", {class: "fc-body"},
23 23   Array(31).fill().map((_, day) => E("tr",
24 - months.map(m => m.clone().add({day})).map(d =>
25 - d.day() === day + 1
26 - ? E("td", {class: this.getDayClasses(d).join(" ")}, [d.format("ddd")])
27 - : E("td")
28 - )))
24 + months.map(m => m.clone().add({day})).map(d => E("td", {class: this.getDayClasses(d).join(" ")}, [d.toISOString()]))))
29 29   ),
30 30   )
31 31   );