Skip to content

Commit

Permalink
fix hhmm
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan Wei authored and Allan Wei committed Oct 22, 2018
1 parent 9ce2d85 commit 88eeb8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ func TimeDurationToHHMMString(duration float64, unit string) (rect string) {
t, _ := TimeParseRFC3339(sdate)
a := t.Add(h)
so := a.Format(time.RFC3339)
rect = so[11:15]
rect = so[11:16]
return
}

0 comments on commit 88eeb8e

Please sign in to comment.