mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-12 13:48:28 +09:00
Change displayed date/time format for events
This commit is contained in:
parent
753cef9413
commit
07b3f19814
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div><span class="mfm-x2">{{ note.event!.title }}</span></div>
|
<div><span class="mfm-x2">{{ note.event!.title }}</span></div>
|
||||||
<div>Start: {{ note.event!.start }}</div>
|
<div>Start: {{ (new Date(note.event!.start)).toLocaleString() }}</div>
|
||||||
<div v-if="!!note.event!.end">End: {{ note.event!.end }}</div>
|
<div v-if="!!note.event!.end">End: {{ (new Date(note.event!.end)).toLocaleString() }}</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="k in Object.keys(note.event!.metadata)" :key="k">
|
<li v-for="k in Object.keys(note.event!.metadata)" :key="k">
|
||||||
{{ k }}: {{ note.event!.metadata[k] }}
|
{{ k }}: {{ note.event!.metadata[k] }}
|
||||||
|
Loading…
Reference in New Issue
Block a user