Show time until on collapsed reminders

This commit is contained in:
jude
2024-03-03 20:30:39 +00:00
parent 382c2a5a1e
commit 66135ecd08
9 changed files with 54 additions and 8 deletions

View File

@ -8,6 +8,7 @@ import { Settings } from "./Settings";
import { ReminderContext } from "./ReminderContext";
import { useQuery } from "react-query";
import { useParams } from "wouter";
import "./styles.scss";
function defaultReminder(): Reminder {
return {
@ -36,7 +37,7 @@ function defaultReminder(): Reminder {
tts: false,
uid: "",
username: "",
utc_time: DateTime.now(),
utc_time: DateTime.now().toFormat("yyyy-LL-dd'T'HH:mm:ss"),
};
}