Skip to content

Commit 0843e5b

Browse files
committed
Docs
1 parent 3343a36 commit 0843e5b

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

Doc/library/calendar.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,10 @@ The following options are accepted:
751751
By default, today's date is highlighted in color and can be
752752
:ref:`controlled using environment variables <using-on-controlling-color>`.
753753

754+
.. versionchanged:: next
755+
By default, the calendar is in color and can be
756+
:ref:`controlled using environment variables <using-on-controlling-color>`.
757+
754758
*HTML-mode options:*
755759

756760
.. option:: --css CSS, -c CSS

Doc/whatsnew/3.15.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,11 @@ binascii
713713
calendar
714714
--------
715715

716+
* :mod:`calendar`'s :ref:`command-line <calendar-cli>` text output has more
717+
color. This can be controlled with :ref:`environment variables
718+
<using-on-controlling-color>`.
719+
(Contributed by Hugo van Kemenade in :gh:`148352`.)
720+
716721
* The :mod:`calendar`'s :ref:`command-line <calendar-cli>` HTML output now
717722
accepts the year-month option: ``python -m calendar -t html 2009 06``.
718723
(Contributed by Pål Grønås Drange in :gh:`140212`.)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add more colour to :mod:`calendar`'s CLI output. Patch by Hugo van Kemenade.

0 commit comments

Comments
 (0)