mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-11-02 20:30:30 -06:00
Merge pull request #6407 from tk0miya/6406_wrong_year
Fix #6406: Wrong year is returned for ``SOURCE_DATE_EPOCH``
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -125,6 +125,7 @@ Bugs fixed
|
||||
* #6375: extlinks: Cannot escape angle brackets in link caption
|
||||
* #6378: linkcheck: Send commonly used User-Agent
|
||||
* #6387: html search: failed to search document with haiku and scrolls themes
|
||||
* #6406: Wrong year is returned for ``SOURCE_DATE_EPOCH``
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
||||
+1
-1
@@ -248,7 +248,7 @@ date_format_mappings = {
|
||||
'%x': 'medium', # Locale’s appropriate date representation.
|
||||
'%X': 'medium', # Locale’s appropriate time representation.
|
||||
'%y': 'YY', # Year without century as a zero-padded decimal number.
|
||||
'%Y': 'YYYY', # Year with century as a decimal number.
|
||||
'%Y': 'yyyy', # Year with century as a decimal number.
|
||||
'%Z': 'zzzz', # Time zone name (no characters if no time zone exists).
|
||||
'%%': '%',
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user