Skip to content

Commit

Permalink
feat: time/timeutil: add constants
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Sep 2, 2024
1 parent 9c3aa26 commit db74760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions time/timeutil/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ const (
Week = 7 * Day
Year = 365 * Day
Decade = 10 * Year
Score = 2 * Decade
Century = 10 * Decade
WorkDay = 8 * time.Hour
WorkWeek = 5 * WorkDay
WorkDay996 = 12 * time.Hour
Expand Down

0 comments on commit db74760

Please sign in to comment.