Skip to content

Add option to calendar module CLI to specify the weekday to start each week #112240

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

Closed
planet36 opened this issue Nov 18, 2023 · 0 comments
Closed
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@planet36
Copy link
Contributor

planet36 commented Nov 18, 2023

Feature or enhancement

Proposal:

When running the calendar module CLI, there is no option to specify the weekday to start each week. It defaults to Monday (0).

python -m calendar -h

Please consider adding an option (e.g. --first-weekday) to specify the weekday to start each week.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@planet36 planet36 added the type-feature A feature request or enhancement label Nov 18, 2023
@planet36 planet36 changed the title Add option to calendar module CLI to specify first weekday Add option to calendar module CLI to specify the weekday to start each week Nov 18, 2023
@arhadthedev arhadthedev added the stdlib Python modules in the Lib dir label Nov 18, 2023
aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants