mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	fix(insert time): Remove unnecessary async
This commit is contained in:
		
							parent
							
								
									3c23f5d43f
								
							
						
					
					
						commit
						0b3ebae59c
					
				@ -375,7 +375,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    async insertDateTimeToTextCommand() { 
 | 
			
		||||
    insertDateTimeToTextCommand() { 
 | 
			
		||||
        const date = new Date();
 | 
			
		||||
        const customDateTimeFormat = options.get("customDateTimeFormat");
 | 
			
		||||
        const dateString = utils.formatDateTime(date, customDateTimeFormat);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user