Skip to content

Commit

Permalink
fix: max and min in timedelta
Browse files Browse the repository at this point in the history
  • Loading branch information
Prodesire committed Oct 19, 2023
1 parent 9e6a83c commit 2efd7ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions morrow/timedelta.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ struct TimeDelta:
return self.days != 0 or self.seconds != 0 or self.microseconds != 0


alias Min = TimeDelta(-999999999)
alias Max = TimeDelta(days=999999999)
alias Min = TimeDelta(-99999999)
alias Max = TimeDelta(days=99999999)
alias Resolution = TimeDelta(microseconds=1)

0 comments on commit 2efd7ad

Please sign in to comment.