Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bd344ea

Browse files
authored
Merge pull request #10465 from matplotlib/auto-backport-of-pr-10461
Backport PR #10461 on branch v2.2.x
2 parents db1a697 + 2fc23da commit bd344ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ def strftime(self, dt, fmt=None):
725725
fmt = fmt.replace("%s", "s")
726726
if dt.year >= 1900:
727727
# Note: in python 3.3 this is okay for years >= 1000,
728-
# refer to http://bugs.python.org/issue177742
728+
# refer to http://bugs.python.org/issue1777412
729729
return cbook.unicode_safe(dt.strftime(fmt))
730730

731731
return self.strftime_pre_1900(dt, fmt)

0 commit comments

Comments
 (0)