Skip to content

Commit

Permalink
Merge pull request #28 from yariv-notion/patch-1
Browse files Browse the repository at this point in the history
Handle format issue with cleanup script
  • Loading branch information
irvingpop authored Nov 12, 2024
2 parents a0df108 + 12654a5 commit e0050a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/hny_dataset_cleanup_tool/hny-column-cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def list_columns_last_written_before(dataset, api_key, date):
[
(column['id'], column['key_name'])
for column in all_columns
if datetime.fromisoformat(column['last_written']).date() < date
if datetime.fromisoformat(column['last_written'].replace("Z", "+00:00")).date() < date
]
)

Expand Down

0 comments on commit e0050a7

Please sign in to comment.