Skip to content

Commit ea5a940

Browse files
committed
Compare with UTC as Copilot suggested
1 parent 79cc2d6 commit ea5a940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/xml/pidx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,5 +513,5 @@ func (p *PdscTag) IsDeprecated() bool {
513513
if err != nil {
514514
return false
515515
}
516-
return !time.Now().Before(t)
516+
return !time.Now().UTC().Before(t)
517517
}

0 commit comments

Comments
 (0)