-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Highlight today in colour in calendar's CLI output #128317
Labels
Comments
hugovk
added a commit
that referenced
this issue
Dec 30, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 30, 2024
…H-128353) (cherry picked from commit 6dbace3) Co-authored-by: Hugo van Kemenade <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Dec 30, 2024
…H-128353) (cherry picked from commit 6dbace3) Co-authored-by: Hugo van Kemenade <[email protected]>
This was referenced Dec 30, 2024
hugovk
added a commit
that referenced
this issue
Dec 30, 2024
) (#128357) Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk
added a commit
that referenced
this issue
Dec 30, 2024
) (#128358) Co-authored-by: Hugo van Kemenade <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Feature or enhancement
In Python 3.13 we added colour output to the new REPL, tracebacks and doctest, and in 3.14 to unittest and
test.regrtest
, which can also be controlled with thePYTHON_COLORS
,NO_COLOR
andFORCE_COLOR
environment variables:On macOS, the
cal
utility does something similar, but highlights today.The calendar module has a CLI to print out a calendar to the terminal, but with no highlighting. Let's add it.
Linked PRs
calendar.TextCalendar.formatweek
#128353calendar.TextCalendar.formatweek
(GH-128353) #128357calendar.TextCalendar.formatweek
(GH-128353) #128358The text was updated successfully, but these errors were encountered: