Skip to content

Commit fb03d02

Browse files
committed
fix: rebase errors
1 parent f28eede commit fb03d02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/isodate/date.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ func (p Period) Compare(p2 Period) int {
125125
}
126126

127127
// DivisibleBy returns true if the period is divisible by the smaller period (in days).
128-
func (larger Period) DivisibleBy(smaller Period) (bool, error) {
129-
l := larger.Simplify(true)
128+
func (p Period) DivisibleBy(smaller Period) (bool, error) {
129+
l := p.Simplify(true)
130130
s := smaller.Simplify(true)
131131

132132
if l.IsZero() || s.IsZero() || l.Compare(s) < 0 {

0 commit comments

Comments
 (0)