diff --git a/src/stories/VtlEditor21.stories.ts b/src/stories/VtlEditor21.stories.ts index 0396a6f..48ca98d 100644 --- a/src/stories/VtlEditor21.stories.ts +++ b/src/stories/VtlEditor21.stories.ts @@ -20,8 +20,8 @@ export const NewFeatures = { [calc c := case when r < 0.2 then "Low" when r > 0.8 then "High" else "Medium"]; a := datediff(cast("2022Q1", time_period), cast("2023Q2", time_period)); b := dateadd(cast("2022Q1", time_period), 5, "M"); -c := year(cast("2022Q1", time_period)); -d := month(cast("2020-12-14", date)); +c := getyear(cast("2022Q1", time_period)); +d := getmonth(cast("2020-12-14", date)); e := dayofmonth(cast("2020-12-14", date)); f := dayofyear(cast("2020-12-14", date)); g := daytoyear(422);