mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	#1500 only regulateTimeZone for MySQL
This commit is contained in:
		
					parent
					
						
							
								cd37fccdfb
							
						
					
				
			
			
				commit
				
					
						e2d6b0116e
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -46,7 +46,7 @@ func sessionRelease(sess *xorm.Session) { | |||
| // Note: get back time.Time from database Go sees it at UTC where they are really Local. | ||||
| // 	So this function makes correct timezone offset. | ||||
| func regulateTimeZone(t time.Time) time.Time { | ||||
| 	if setting.UseSQLite3 { | ||||
| 	if !setting.UseMySQL { | ||||
| 		return t | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue