From bee314679596da198c4a544738eb987d16c0e6be Mon Sep 17 00:00:00 2001 From: myersCody Date: Wed, 12 Jun 2024 16:05:02 -0400 Subject: [PATCH] Fix azure v1 date. --- nise/__init__.py | 2 +- nise/generators/azure/azure_generator.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nise/__init__.py b/nise/__init__.py index b93d9cc2..e487d2f3 100644 --- a/nise/__init__.py +++ b/nise/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.5.4" +__version__ = "4.5.5" VERSION = __version__.split(".") diff --git a/nise/generators/azure/azure_generator.py b/nise/generators/azure/azure_generator.py index faa0b915..3637d1b8 100644 --- a/nise/generators/azure/azure_generator.py +++ b/nise/generators/azure/azure_generator.py @@ -331,7 +331,7 @@ def _add_common_usage_info(self, row, start, end, **kwargs): row["BillingPeriodEndDate"] = self.last_day_of_month(start).strftime(DATE_FMT) else: row["SubscriptionGuid"] = self.subscription_guid - row["UsageDateTime"] = start.strftime("%Y-%m-%d %H:%M:%S") + row["UsageDateTime"] = start.strftime(DATE_FMT) return row def _add_tag_data(self, row):