Skip to content

Navigation Menu

Sign in
Sign up

fix: three character date time format code - #1681

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

fix: three character date time format code #1681
kaos wants to merge 2 commits into
pact-foundation:main from
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 Bot commented Aug 28, 2026
edited
Loading

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /