refactor: replace date, time, time_format, time_to_string DSL functions to date_time

dev
forgedhallpass 2022-06-08 17:43:52 +03:00
parent ef20e0711b
commit 04e7e053de
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ func TestVariablesEvaluate(t *testing.T) {
data := `a1: "{{rand_base(5)}}"
a2: "{{md5(a1)}}"
a3: "this_is_random_text"
a4: "{{date('%Y-%M-%D')}}"
a4: "{{date_time('%Y-%M-%D')}}"
a5: "{{reverse(hostname)}}"
a6: "123456"`