Skip to content

Commit

Permalink
Fix Mongo dropping timezone info
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCreosote committed Jan 21, 2025
1 parent 9ff3edd commit ebf6f2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cdmtaskservice/app_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ async def get_mongo_client(cfg: CDMTaskServiceConfig) -> AsyncIOMotorClient:
username=cfg.mongo_user,
password=cfg.mongo_pwd,
retryWrites=cfg.mongo_retrywrites,
tz_aware=True,
)
# Test connnection cheaply, doesn't need auth.
# Just throw the exception as is
Expand Down

0 comments on commit ebf6f2f

Please sign in to comment.