1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 05:38:55 +09:00

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

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] }}