aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/issue_milestone.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue_milestone.go b/models/issue_milestone.go
index 949932fb2b..8de1f97571 100644
--- a/models/issue_milestone.go
+++ b/models/issue_milestone.go
@@ -24,7 +24,7 @@ type Milestone struct {
NumClosedIssues int
NumOpenIssues int `xorm:"-"`
Completeness int // Percentage(1-100).
- IsOverDue bool `xorm:"-"`
+ IsOverdue bool `xorm:"-"`
DeadlineString string `xorm:"-"`
DeadlineUnix util.TimeStamp
@@ -52,7 +52,7 @@ func (m *Milestone) AfterLoad() {
m.DeadlineString = m.DeadlineUnix.Format("2006-01-02")
if util.TimeStampNow() >= m.DeadlineUnix {
- m.IsOverDue = true
+ m.IsOverdue = true
}
}