note revision widget displays only date and time, no time offset

This commit is contained in:
zadam
2019-09-07 22:03:08 +02:00
parent 45ee959c11
commit 2cfe9b3c03
5 changed files with 295 additions and 82 deletions

View File

@@ -37,7 +37,7 @@ class NoteRevisionsWidget extends StandardWidget {
'data-note-path': this.ctx.note.noteId,
'data-note-revision-id': item.noteRevisionId,
href: 'javascript:'
}).text(item.dateModifiedFrom)));
}).text(item.dateModifiedFrom.substr(0, 16))));
}
}