mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Fix template function DateTime (#24317)
Before, 500 error 
This commit is contained in:
		@@ -22,7 +22,7 @@
 | 
			
		||||
					<td><a href="{{.FullWebLink}}">{{.Version.Version}}</a></td>
 | 
			
		||||
					<td><a href="{{.Creator.HomeLink}}">{{.Creator.Name}}</a></td>
 | 
			
		||||
					<td>{{FileSize .CalculateBlobSize}}</td>
 | 
			
		||||
					<td>{{DateTime "short" .Version.CreatedUnix.FormatLong .Version.CreatedUnix.FormatShort}}</td>
 | 
			
		||||
					<td>{{DateTime "short" .Version.CreatedUnix}}</td>
 | 
			
		||||
				</tr>
 | 
			
		||||
			{{else}}
 | 
			
		||||
				<tr>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user