From 18176a850ff3fbaba005d6d3aa5f22d2740122b3 Mon Sep 17 00:00:00 2001 From: Claus Herther Date: Fri, 4 Oct 2019 11:27:43 -0700 Subject: [PATCH] Fixes timezone var --- macros/date/convert_timezone.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/date/convert_timezone.sql b/macros/date/convert_timezone.sql index 50e632f..955a042 100644 --- a/macros/date/convert_timezone.sql +++ b/macros/date/convert_timezone.sql @@ -1,6 +1,6 @@ {% macro convert_timezone(column, target_tz=None, source_tz=None) %} -{%- set target_tz = var("dbt_extend:time_zone") if not target_tz else target_tz -%} -{{ adapter_macro('dbt_extend.convert_timezone', column, target_tz, source_tz) }} +{%- set target_tz = var("dbt_date:time_zone") if not target_tz else target_tz -%} +{{ adapter_macro('dbt_date.convert_timezone', column, target_tz, source_tz) }} {% endmacro %} {% macro default__convert_timezone(column, target_tz=None, source_tz=None) %}