added titles with full date time including timezone offset also to note revisions dialog/widget

This commit is contained in:
zadam
2020-05-01 00:01:53 +02:00
parent 90d091aedb
commit 5c35b870eb
2 changed files with 3 additions and 1 deletions

View File

@@ -44,7 +44,8 @@ async function loadNoteRevisions(noteId, noteRevId) {
for (const item of revisionItems) {
$list.append($('<a class="dropdown-item" tabindex="0">')
.text(item.dateLastEdited.substr(0, 16) + ` (${item.contentLength} bytes)`)
.attr('data-note-revision-id', item.noteRevisionId));
.attr('data-note-revision-id', item.noteRevisionId))
.attr('title', 'This revision was last edited on ' + item.dateLastEdited);
}
$listDropdown.dropdown('show');