feat: Transcription read mode (clean split) #177 #205
@@ -1,5 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { m } from '$lib/paraglide/messages.js';
|
import { m } from '$lib/paraglide/messages.js';
|
||||||
|
import { getLocale } from '$lib/paraglide/runtime.js';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
mode: 'read' | 'edit';
|
mode: 'read' | 'edit';
|
||||||
@@ -14,7 +15,7 @@ let { mode, hasBlocks, blockCount, lastEditedAt, onModeChange, onClose }: Props
|
|||||||
|
|
||||||
const formattedDate = $derived(
|
const formattedDate = $derived(
|
||||||
lastEditedAt
|
lastEditedAt
|
||||||
? new Intl.DateTimeFormat('de-DE', {
|
? new Intl.DateTimeFormat(getLocale(), {
|
||||||
day: 'numeric',
|
day: 'numeric',
|
||||||
month: 'short',
|
month: 'short',
|
||||||
year: 'numeric'
|
year: 'numeric'
|
||||||
|
|||||||
Reference in New Issue
Block a user