mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 09:12:58 +01:00
Date formating
This commit is contained in:
parent
dfc63f0956
commit
9b57ed3228
@ -4,7 +4,7 @@
|
|||||||
<a class="collection-item local-snap-listener modal-trigger" href="#modal-<%=snaps[index].slug%>"
|
<a class="collection-item local-snap-listener modal-trigger" href="#modal-<%=snaps[index].slug%>"
|
||||||
data-id="<%= snaps[index].slug %>">
|
data-id="<%= snaps[index].slug %>">
|
||||||
<div><%= snaps[index].name ? snaps[index].name : snaps[index].slug %><div class="secondary-content">
|
<div><%= snaps[index].name ? snaps[index].name : snaps[index].slug %><div class="secondary-content">
|
||||||
<%= moment(snaps[index].date).format('lll') %></div>
|
<%= moment(snaps[index].date).format('MMM D, YYYY HH:mm') %></div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
<input disabled type="text" id="date-<%=snaps[index].slug%>"
|
<input disabled type="text" id="date-<%=snaps[index].slug%>"
|
||||||
value="<%=moment(snaps[index].date).format('lll')%>" />
|
value="<%=moment(snaps[index].date).format('MMM D, YYYY HH:mm')%>" />
|
||||||
<label for="date-<%=snaps[index].slug%>" class="white-text active">Date</label>
|
<label for="date-<%=snaps[index].slug%>" class="white-text active">Date</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user