Commit 0886e348 authored by Daniele Venzano's avatar Daniele Venzano 🏇
Browse files

Merge branch 'devel/platform_status' into 'master'

Update moment JS library and show locale-aware timestamps in the execution details page

See merge request !46
parents f7fd4289 cb5d51a5
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5,10 +5,13 @@
<script src="/static/moment.min.js" type="application/javascript"></script>
<script src="/static/moment-timezone.min.js" type="application/javascript"></script>
var locale = window.navigator.userLanguage || window.navigator.language;
function format_timestamp(ts) {
var m = moment.utc(ts);
document.write(m.format("L, LTS"));
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment