mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 01:05:26 +01:00 
			
		
		
		
	fix printing issue deadline (#388)
fixes #387 Reviewed-on: https://gitea.com/gitea/tea/pulls/388 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
		| @@ -101,6 +101,9 @@ func (x printableIssue) FormatField(field string) string { | ||||
| 	case "updated": | ||||
| 		return FormatTime(x.Updated) | ||||
| 	case "deadline": | ||||
| 		if x.Deadline == nil { | ||||
| 			return "" | ||||
| 		} | ||||
| 		return FormatTime(*x.Deadline) | ||||
| 	case "milestone": | ||||
| 		if x.Milestone != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Norwin
					Norwin