Skip to content

Commit

Permalink
fix: display times in local timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Clemens committed Jul 6, 2018
1 parent f6201f6 commit bef8e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webserver/web/static/js/timestamps.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
return;
}

const m = moment.utc(ts);
const m = moment.utc(ts).local();

elem.innerHTML = m.fromNow();
elem.title = m.format('LLL');
Expand Down

0 comments on commit bef8e74

Please sign in to comment.