mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
fix windows error
This commit is contained in:
parent
24899daeb4
commit
9705cc2155
@ -43,7 +43,7 @@ func MakeGraph(widget *Widget) {
|
|||||||
|
|
||||||
barTime := time.Now()
|
barTime := time.Now()
|
||||||
for i := 0; i < lineCount; i++ {
|
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{
|
bar := wtf.Bar{
|
||||||
Label: barTime.Format("15:04"),
|
Label: barTime.Format("15:04"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user