diff --git a/dist/index.css b/dist/index.css index 30f1638c..25284e71 100644 --- a/dist/index.css +++ b/dist/index.css @@ -68,6 +68,9 @@ body:is([theme=dark], [theme=black]) [color]:not([color=standard]).tile { background: var(--surface); } } +body [color] :is(.background-primary, .primary) hr { + --border: hsla(0, 0%, var(--accent-text-luma), 10%); +} body [color]:not([color=standard]).subtle-background { --luma: var(--subtle-luma); background: hsl(var(--hue), 100%, var(--luma), 40%); diff --git a/dist/index.js b/dist/index.js index 25fc32a9..333f5f19 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1752,7 +1752,10 @@ return (/* @__PURE__ */ new Date()).toISOString(); } function formatISO(date) { - return date.toISOString().split("T")[0]; + return formatISOFromParts(date.getFullYear(), date.getMonth() + 1, date.getDate()); + } + function formatISOFromParts(year, month, date) { + return [year, month, date].map((x, i) => i == 0 ? x : CalendarModel.padZero(x.toString())).join("-"); } function formatTime(date) { return [date.getHours(), date.getMinutes()].map((x) => CalendarModel.padZero(x.toString())).join(":"); @@ -3126,6 +3129,7 @@ }; this.updateMonthGrid = () => { const today = formatISO(this.coreViewModel.todayDate.value); + console.log(today, this.coreViewModel.todayDate.value); if (this.currentTodayDate == today) return; this.loadMonthTasks(); @@ -3201,7 +3205,7 @@ ); } get selectedDateString() { - return [this.selectedYear.value, this.selectedMonth.value, this.selectedDate.value].map((x, i) => i == 0 ? x : CalendarModel.padZero(x.toString())).join("-"); + return formatISOFromParts(this.selectedYear.value, this.selectedMonth.value, this.selectedDate.value); } }; diff --git a/dist/sw.js b/dist/sw.js index 9009ce57..054e1597 100644 --- a/dist/sw.js +++ b/dist/sw.js @@ -1,4 +1,4 @@ -const VERSION = "2610 Beta 7" +const VERSION = "2610 Beta 9 function processUrl(event) { const url = event.request.url; diff --git a/dist/version.txt b/dist/version.txt index 894c3475..78912be0 100644 --- a/dist/version.txt +++ b/dist/version.txt @@ -1 +1 @@ -2610 Beta 7 +2610 Beta 9