Skip to content

fix: three character date time format code - #1681

Open
kaos wants to merge 2 commits into
pact-foundation:mainfrom
kaos:fix/datetime-format-bug
Open

fix: three character date time format code#1681
kaos wants to merge 2 commits into
pact-foundation:mainfrom
kaos:fix/datetime-format-bug

Conversation

@kaos

@kaos kaos commented Aug 21, 2026

Copy link
Copy Markdown

✈️ Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • [-] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

📝 Summary

Trying to use the %:z format code resulted in a ValueError.

🔥 Motivation

This PR adds a test showing the issue, along with implementation to fix it.

@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74%. Comparing base (ebd1555) to head (ba5eb8f).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1681   +/-   ##
====================================
  Coverage    74%     74%           
====================================
  Files        36      36           
  Lines      4079    4082    +3     
====================================
+ Hits       3052    3055    +3     
  Misses     1027    1027           
Flag Coverage Δ
examples 36% <50%> (-1%) ⬇️
tests 74% <100%> (+<1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant