Change displayed date/time format for events

This commit is contained in:
ssmucny 2023-04-20 22:00:06 -04:00
parent 753cef9413
commit 07b3f19814
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template>
<div><span class="mfm-x2">{{ note.event!.title }}</span></div>
<div>Start: {{ note.event!.start }}</div>
<div v-if="!!note.event!.end">End: {{ note.event!.end }}</div>
<div>Start: {{ (new Date(note.event!.start)).toLocaleString() }}</div>
<div v-if="!!note.event!.end">End: {{ (new Date(note.event!.end)).toLocaleString() }}</div>
<ul>
<li v-for="k in Object.keys(note.event!.metadata)" :key="k">
{{ k }}: {{ note.event!.metadata[k] }}