Skip to content

Commit

Permalink
Fixed bug with data_finish. Now the finish date of a task needs to be…
Browse files Browse the repository at this point in the history
… greater than the start date.
  • Loading branch information
ferzunzu committed Jul 26, 2024
1 parent b996c48 commit f0eb001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taiga/projects/milestones/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __repr__(self):

def clean(self):
# Don't allow draft entries to have a pub_date.
if self.estimated_start and self.estimated_finish and self.estimated_start > self.estimated_finish:
if self.estimated_start and self.estimated_finish and self.estimated_start >= self.estimated_finish:
raise ValidationError(_('The estimated start must be previous to the estimated finish.'))

def save(self, *args, **kwargs):
Expand Down

0 comments on commit f0eb001

Please sign in to comment.