darrenqc
Results
1
issues of
darrenqc
代码位置:https://github.com/gookit/slog/blob/master/rotatefile/config.go#L70 ```golang // eg: now.Minute()=37, nextMin=42, will get nextDur=40 nextDur := time.Duration(nextMin).Round(time.Duration(minutes)) return timex.HourStart(now).Add(nextDur) ``` 这里的nextDur单位是分钟数,后面的`timex.HourStart(now).Add(nextDur)`应该改为`timex.HourStart(now).Add(nextDur*time.Minute)`