Skip to content

Commit

Permalink
Support Pythin 3.13 (#3926)
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb authored Nov 25, 2024
1 parent cb146f8 commit bba1fcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ pytest-cov==5.0.0
sqlfluff==1.4.5

# sql/util/* dependencies
pandas==2.2.2
pandas==2.2.3
google-cloud-bigquery==3.25.0
requests==2.32.3
2 changes: 1 addition & 1 deletion src/server/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def accentless_sort(value):
def get_file_date_info(file, type):
timestamps_config = get_timestamps_config()
# Default Published and Last Updated to today
today = datetime.datetime.utcnow().isoformat(timespec='milliseconds')
today = datetime.datetime.now(datetime.UTC).isoformat(timespec='milliseconds')
if type == "date_published" or type == "date_modified":
return timestamps_config.get(file, {}).get(type, today)
else:
Expand Down

0 comments on commit bba1fcf

Please sign in to comment.