Skip to content
Snippets Groups Projects

FIX: Update datetimeutcnow to new syntax to fix depreciation warning.

Open Zachary Sherman requested to merge zssherman/icartt_pypackage:update_datetime into master

datetime updated their syntax to use timezone-aware objects to represent datetimes in UTC. This is fixed by calling .now instead of utcnow and providing the UTC object in the now function call.

Merge request reports

Members who can merge are allowed to add commits.

Pipeline #177 failed

Pipeline failed for 1d2eacf4 on zssherman:update_datetime

Ready to merge by members who can write to the target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading