Skip to content

Commit

Permalink
Corrected date formatting (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramo-j authored Oct 16, 2024
1 parent af85148 commit e919023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dftimewolf/lib/collectors/gcp_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ def SetUp(

if self.start_time:
filter_expression = filter_expression.replace(
'<START_TIME>', self.start_time.strftime('%Y%m%dT%H%M%S%z')
'<START_TIME>', self.start_time.strftime('%Y-%m-%dT%H:%M:%S%z')
)
if self.end_time:
filter_expression = filter_expression.replace(
'<END_TIME>', self.end_time.strftime('%Y%m%dT%H%M%S%z')
'<END_TIME>', self.end_time.strftime('%Y-%m-%dT%H:%M:%S%z')
)

self._filter_expression = filter_expression
Expand Down

0 comments on commit e919023

Please sign in to comment.