mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	added titles with full date time including timezone offset also to note revisions dialog/widget
This commit is contained in:
		@@ -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');
 | 
			
		||||
 
 | 
			
		||||
@@ -59,6 +59,7 @@ class NoteRevisionsWidget extends CollapsibleWidget {
 | 
			
		||||
                'data-action': 'note-revision',
 | 
			
		||||
                'data-note-path': note.noteId,
 | 
			
		||||
                'data-note-revision-id': item.noteRevisionId,
 | 
			
		||||
                title: 'This revision was last edited on ' + item.dateLastEdited,
 | 
			
		||||
                href: 'javascript:'
 | 
			
		||||
            }).text(item.dateLastEdited.substr(0, 16)));
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user