FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Docs] Fix typo in docs for start and end of century by pauln-relay · Pull Request #910 · python-pendulum/pendulum · GitHub

[Docs] Fix typo in docs for start and end of century - #910

Merged
Secrus merged 1 commit into
python-pendulum:masterfrom
pauln-relay:docs-fix-start-of-century
Aug 13, 2025
Merged

[Docs] Fix typo in docs for start and end of century#910
Secrus merged 1 commit into
python-pendulum:masterfrom
pauln-relay:docs-fix-start-of-century

Conversation

pauln-relay commented Aug 12, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

Summary

  • Fix typo in docs for dt.start_of('century') and dt.end_of('century') to reflect correct century bounds
  • No code change - validated the rest of the examples for modifiers ✅

Validation

>>> import pendulum
>>> dt = pendulum.datetime(2012, 1, 31, 12, 0, 0)
>>> dt.start_of('century')
DateTime(2001, 1, 1, 0, 0, 0, tzinfo=Timezone('UTC'))
>>> dt.end_of('century')
DateTime(2100, 12, 31, 23, 59, 59, 999999, tzinfo=Timezone('UTC'))

ashb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Not the values I would have expected, but this has been consistent since Pendulm 1.0.2.

codspeed-hq Bot commented Aug 12, 2025
edited
Loading

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #910 will not alter performance

Comparing pauln-relay:docs-fix-start-of-century (881bd7f) with master (2adcc02)

Summary

✅ 1 untouched benchmarks

Copy link
Copy Markdown
Contributor Author

Not the values I would have expected, but this has been consistent since Pendulm 1.0.2.

Same - I learned more about centuries today than I had planned

Secrus closed this Aug 13, 2025
Secrus reopened this Aug 13, 2025
Secrus merged commit 8a1860d into python-pendulum:master Aug 13, 2025
4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL