dates are now stored in UTC and displayed in local time

This commit is contained in:
azivner
2017-09-30 22:35:13 -04:00
parent 569f7a392d
commit d0cc5f4a5f
8 changed files with 31 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ $(document).bind('keydown', 'alt+h', function() {
globalHistoryItems = result;
for (const row of result) {
const dateModified = new Date(row.date_modified * 1000);
const dateModified = getDateFromTS(row.date_modified);
$("#noteHistoryList").append($('<option>', {
value: row.id,