8000 Add links to python's strftime method by dstansby · Pull Request #9803 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Add links to python's strftime method #9803

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

Merged
merged 1 commit into from
Nov 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add links to python's strftime method
  • Loading branch information
dstansby committed Nov 16, 2017
commit fc20ea9f802f5d1aab6cad55f14f49f5642eb413
5 changes: 3 additions & 2 deletions lib/matplotlib/dates.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,9 +654,10 @@ def strftime_pre_1900(self, dt, fmt=None):
return cbook.unicode_safe(s1)

def strftime(self, dt, fmt=None):
"""Refer to documentation for datetime.strftime.
"""
Refer to documentation for :meth:`datetime.datetime.strftime`

*fmt* is a :func:`strftime` format string.
*fmt* is a :meth:`datetime.datetime.strftime` format string.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably no need to repeat the same reference twice in two consecutive sentences (e.g. remove the previous line)? Otherwise looks good.


Warning: For years before 1900, depending upon the current
locale it is possible that the year displayed with %x might
Expand Down
0