diff --git a/puppetboard/static/js/timestamps.js b/puppetboard/static/js/timestamps.js index c682c09..a5dedd8 100644 --- a/puppetboard/static/js/timestamps.js +++ b/puppetboard/static/js/timestamps.js @@ -1,23 +1,23 @@ jQuery(function ($) { var localise_timestamp = function(timestamp){ if (timestamp === "None"){ return ''; }; d = moment.utc(timestamp); d.local(); return d; }; $("[rel=utctimestamp]").each( function(index, timestamp){ var tstamp = $(timestamp); var tstring = tstamp.text().trim(); var result = localise_timestamp(tstring); if (result == '') { tstamp.text('Unknown'); } else { - tstamp.text(localise_timestamp(tstring).format('LLLL')); + tstamp.text(localise_timestamp(tstring).format('MMM DD YYYY - HH:mm:ss')); }; }); });