Browse Source

data: Fixed centiseconds being used instead of seconds in change history entry timestamps.

1.2
Gisle Aune 6 years ago
parent
commit
f134d57b79
  1. 2
      marko/page/data/components/change/index.marko

2
marko/page/data/components/change/index.marko

@ -1,7 +1,7 @@
import moment from "moment";
<div class="change">
<span class="change-id color-menu">[${moment(input.data.date).format("MMM D HH:mm:SS")}] * </span>
<span class="change-id color-menu">[${moment(input.data.date).format("MMM D HH:mm:ss")}] * </span>
<span class="author color-text">${input.data.author} </span>
<span class="text color-text">${state.operation} </span>
<span for(link in state.links | status-var=loop) key=link.href class="link">

Loading…
Cancel
Save