Skip to content

Commit

Permalink
gofmt (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
hako committed Dec 19, 2017
1 parent 919c312 commit 330845b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion durafmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (d *Durafmt) String() string {
if leftYearDays >= 364 && leftYearDays < 365 {
weeks = 52
}

years := int64(d.duration/(24*time.Hour)) / 365
milliseconds := int64(d.duration/time.Millisecond) -
(seconds * 1000) - (minutes * 60000) - (hours * 3600000) -
Expand Down

0 comments on commit 330845b

Please sign in to comment.