diff --git a/core/dbt/contracts/util.py b/core/dbt/contracts/util.py index 49046e3e10d..9f3568eb5b9 100644 --- a/core/dbt/contracts/util.py +++ b/core/dbt/contracts/util.py @@ -162,8 +162,8 @@ class BaseArtifactMetadata(dbtClassMixin): def __post_serialize__(self, dct): dct = super().__post_serialize__(dct) - if dct['generated_at'] and dct['generated_at'].endswith('+00:00'): - dct['generated_at'] = dct['generated_at'].replace('+00:00', '') + "Z" + if dct["generated_at"] and dct["generated_at"].endswith("+00:00"): + dct["generated_at"] = dct["generated_at"].replace("+00:00", "") + "Z" return dct