A simple to-do app focused on tasks that can be completed within a specific time span.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

default to now

ToBinio 7f08d37b 89f4528e

+5
+5
app/components/Edit/Time/TimePointSelect.vue
··· 2 2 import { 3 3 type DateValue, 4 4 getLocalTimeZone, 5 + now, 5 6 parseAbsoluteToLocal, 6 7 toZoned, 7 8 } from "@internationalized/date"; ··· 10 11 11 12 const { t, locale } = useI18n(); 12 13 const timePoint = defineModel<TimePoint | undefined>("timePoint"); 14 + 15 + if (timePoint.value === undefined) { 16 + timePoint.value = { time: now(getLocalTimeZone()).toAbsoluteString() }; 17 + } 13 18 14 19 const dateTime = computed({ 15 20 get: () => {