Skip to content

Commit

Permalink
pass args to strToTime (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
olianate committed Jul 5, 2023
1 parent f1f5f29 commit 5750165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func Apply(name string, val interface{}, args []string) (interface{}, error) {
case "strToSlice":
val = strutil.ToSlice(str, args...)
case "strToTime":
val, err = strutil.ToTime(str)
val, err = strutil.ToTime(str, args...)
}

return val, err
Expand Down

0 comments on commit 5750165

Please sign in to comment.