Skip to content

Commit

Permalink
AsTime
Browse files Browse the repository at this point in the history
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
  • Loading branch information
rhino1998 and erezrokah authored Sep 25, 2024
1 parent 35bf99e commit bdb52db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configtype/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (t Time) MarshalJSON() ([]byte, error) {
}
}

func (t Time) Time(now time.Time) time.Time {
func (t Time) AsTime(now time.Time) time.Time {
switch t.typ {
case timeTypeFixed:
return t.time
Expand Down

0 comments on commit bdb52db

Please sign in to comment.