Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ohaibbq committed Jan 29, 2024
1 parent b1554a9 commit 4964ad6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/function_time_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -1084,8 +1084,7 @@ func parseTimeFormat(formatStr, targetStr string, typ TimeFormatType) (*time.Tim
formatIdx int
)
epoch := time.Unix(0, 0)
var ret *time.Time
ret = &epoch
var ret = &epoch

for formatIdx < len(format) {
c := format[formatIdx]
Expand Down

0 comments on commit 4964ad6

Please sign in to comment.