1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

fix windows error

This commit is contained in:
Nicholas Eden 2018-11-24 20:56:23 -08:00
parent 24899daeb4
commit 9705cc2155

View File

@ -43,7 +43,7 @@ func MakeGraph(widget *Widget) {
barTime := time.Now()
for i := 0; i < lineCount; i++ {
barTime = barTime.Add(time.Duration(rand.Intn(10 * int(time.Minute))))
barTime = barTime.Add(time.Duration(time.Minute))
bar := wtf.Bar{
Label: barTime.Format("15:04"),