diff --git a/packages/client/src/components/app/spreadsheet/DateCell.svelte b/packages/client/src/components/app/spreadsheet/DateCell.svelte index c385f98a38..903738ca35 100644 --- a/packages/client/src/components/app/spreadsheet/DateCell.svelte +++ b/packages/client/src/components/app/spreadsheet/DateCell.svelte @@ -1,20 +1,72 @@ -
- {parsedValue} +
+
+ {dayjs(timeOnly ? time : value).format(format)} +
+ {#if selected} + + {/if}
+{#if selected} +
+ onChange(e.detail)} + appendTo={document.getElementById("flatpickr-root")} + enableTime={!dateOnly} + {timeOnly} + time24hr + ignoreTimezones={schema.ignoreTimezones} + /> +
+{/if} +