diff --git a/nise/__init__.py b/nise/__init__.py index 2b500059..6c98004d 100644 --- a/nise/__init__.py +++ b/nise/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.4.3" +__version__ = "4.4.4" VERSION = __version__.split(".") diff --git a/nise/generators/gcp/gcp_generator.py b/nise/generators/gcp/gcp_generator.py index 71b537d5..fbcc7e5c 100644 --- a/nise/generators/gcp/gcp_generator.py +++ b/nise/generators/gcp/gcp_generator.py @@ -135,7 +135,8 @@ def timestamp(in_date): """Provide timestamp for a date.""" if not in_date or not isinstance(in_date, datetime.datetime): raise ValueError("in_date must be a date object.") - return in_date.strftime("%Y-%m-%dT%H:%M:%S%z") + # Bigquery doesn't support UTC offset in the form of +HHMM -> using %Z instead of %z + return in_date.strftime("%Y-%m-%dT%H:%M:%S%Z") @abstractmethod def generate_data(self, report_type=None):