Skip to content

Commit

Permalink
remove reference to locale
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed Oct 2, 2023
1 parent d7c124b commit 147fd32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions celext/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ import (
// DefaultEnv produces a cel.Env with the necessary cel.EnvOption and
// cel.ProgramOption values preconfigured for usage throughout the
// module. If useUTC is true, timestamp operations use the UTC timezone instead
// of the local timezone. If locale is non-empty, the provided locale string is
// used for string formatting, defaulting to 'en_US' if unset.
// of the local timezone.
func DefaultEnv(useUTC bool) (*cel.Env, error) {
return cel.NewEnv(
cel.Lib(lib{
Expand Down

0 comments on commit 147fd32

Please sign in to comment.