mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Fixes usages of UTC datetime instead of local datetime (#5304)
This commit is contained in:
		
							parent
							
								
									4b00a72ff5
								
							
						
					
					
						commit
						2b39697ffb
					
				@ -579,9 +579,9 @@ def run_workflow(
 | 
				
			|||||||
                        if document.document_type is not None
 | 
					                        if document.document_type is not None
 | 
				
			||||||
                        else "",
 | 
					                        else "",
 | 
				
			||||||
                        document.owner.username if document.owner is not None else "",
 | 
					                        document.owner.username if document.owner is not None else "",
 | 
				
			||||||
                        document.added,
 | 
					                        timezone.localtime(document.added),
 | 
				
			||||||
                        document.original_filename,
 | 
					                        document.original_filename,
 | 
				
			||||||
                        document.created,
 | 
					                        timezone.localtime(document.created),
 | 
				
			||||||
                    )
 | 
					                    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if (
 | 
					                if (
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user