Use local time for display

This commit is contained in:
Brandon Keepers
2017-09-29 08:39:10 -05:00
parent 60898b13e5
commit 91c52213ac

View File

@@ -31,9 +31,9 @@ function displayTime(elements, time) {
var value;
if(format == 'fromNow') {
value = time.fromNow();
value = time.local().fromNow();
} else {
value = time.format(format);
value = time.local().format(format);
}
el.innerHTML = value;