Skip to content

Commit

Permalink
Add default value for gitstamp_fmt to README
Browse files Browse the repository at this point in the history
  • Loading branch information
jdillard authored Sep 27, 2023
1 parent c10c63d commit b2741ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ For example:
extensions = ['sphinx_gitstamp']
Set the value of ``gitstamp_fmt`` in **conf.py** to the desired `time format`_.
To change the default time format of ``%b %d, %Y``, set the value of ``gitstamp_fmt`` in **conf.py** to the desired `time format`_.
For example:

.. code-block:: python
# Date format for git timestamps
gitstamp_fmt = "%b %d, %Y"
gitstamp_fmt = "%Y-%m-%d %H:%M:%S %z"
Add ``gitstamp`` to the jinja template, for example:

Expand Down

0 comments on commit b2741ad

Please sign in to comment.