beta9
This commit is contained in:
Vendored
+3
@@ -68,6 +68,9 @@ body:is([theme=dark], [theme=black]) [color]:not([color=standard]).tile {
|
|||||||
background: var(--surface);
|
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 {
|
body [color]:not([color=standard]).subtle-background {
|
||||||
--luma: var(--subtle-luma);
|
--luma: var(--subtle-luma);
|
||||||
background: hsl(var(--hue), 100%, var(--luma), 40%);
|
background: hsl(var(--hue), 100%, var(--luma), 40%);
|
||||||
|
|||||||
Vendored
+6
-2
@@ -1752,7 +1752,10 @@
|
|||||||
return (/* @__PURE__ */ new Date()).toISOString();
|
return (/* @__PURE__ */ new Date()).toISOString();
|
||||||
}
|
}
|
||||||
function formatISO(date) {
|
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) {
|
function formatTime(date) {
|
||||||
return [date.getHours(), date.getMinutes()].map((x) => CalendarModel.padZero(x.toString())).join(":");
|
return [date.getHours(), date.getMinutes()].map((x) => CalendarModel.padZero(x.toString())).join(":");
|
||||||
@@ -3126,6 +3129,7 @@
|
|||||||
};
|
};
|
||||||
this.updateMonthGrid = () => {
|
this.updateMonthGrid = () => {
|
||||||
const today = formatISO(this.coreViewModel.todayDate.value);
|
const today = formatISO(this.coreViewModel.todayDate.value);
|
||||||
|
console.log(today, this.coreViewModel.todayDate.value);
|
||||||
if (this.currentTodayDate == today)
|
if (this.currentTodayDate == today)
|
||||||
return;
|
return;
|
||||||
this.loadMonthTasks();
|
this.loadMonthTasks();
|
||||||
@@ -3201,7 +3205,7 @@
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
get selectedDateString() {
|
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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
const VERSION = "2610 Beta 7"
|
const VERSION = "2610 Beta 9
|
||||||
|
|
||||||
function processUrl(event) {
|
function processUrl(event) {
|
||||||
const url = event.request.url;
|
const url = event.request.url;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1 +1 @@
|
|||||||
2610 Beta 7
|
2610 Beta 9
|
||||||
|
|||||||
Reference in New Issue
Block a user