-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-112240: Add option to calendar module CLI to specify the weekday to start each week #112241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
This is not applicable because the weekday is properly calculated for years outside of [datetime.MINYEAR, datetime.MAXYEAR]
Misc/NEWS.d/next/Library/2023-11-18-16-30-21.gh-issue-112240.YXS0tj.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thank you for your contribution @planet36. And congratulate you with your first commit in CPython. Well, technically not first, but actually first. |
…kday to start each week (pythonGH-112241)
This PR adds
--first-weekday
and-f
options to the calendar module CLI. These take an integer representing the weekday to start each week.📚 Documentation preview 📚: https://cpython-previews--112241.org.readthedocs.build/