This commit is contained in:
@@ -178,7 +178,7 @@ type RelativeBase struct {
|
||||
}
|
||||
|
||||
func (rb RelativeBase) From(now time.Time) time.Time {
|
||||
then := now.Add(time.Duration(rb.Offset))
|
||||
then := now.Add(rb.Offset)
|
||||
return then
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user