feat: add time support in formula (#2961)

This commit is contained in:
Srikanth Chekuri 2023-07-04 19:59:36 +05:30 committed by GitHub
parent 193b04ff0f
commit b7c50cc76d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,8 @@ var SupportedFunctions = []string{
"atan", "atan",
"degrees", "degrees",
"radians", "radians",
"now",
"toUnixTimestamp",
} }
var EvalFuncs = map[string]govaluate.ExpressionFunction{} var EvalFuncs = map[string]govaluate.ExpressionFunction{}