mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix due date rendering the wrong date in issue (#26268)
Closes #26263 We have to pass the date without the time. # Before  # After  Signed-off-by: Yarden Shoham <git@yardenshoham.com>
This commit is contained in:
		| @@ -374,7 +374,7 @@ | ||||
| 				<div class="gt-df gt-sb gt-ac"> | ||||
| 					<div class="due-date {{if .Issue.IsOverdue}}text red{{end}}" {{if .Issue.IsOverdue}}data-tooltip-content="{{.locale.Tr "repo.issues.due_date_overdue"}}"{{end}}> | ||||
| 						{{svg "octicon-calendar" 16 "gt-mr-3"}} | ||||
| 						{{DateTime "long" .Issue.DeadlineUnix}} | ||||
| 						{{DateTime "long" .Issue.DeadlineUnix.FormatDate}} | ||||
| 					</div> | ||||
| 					<div> | ||||
| 						{{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user