diff options
author | Richard Schneeman <richard.schneeman+no-recruiters@gmail.com> | 2018-07-21 13:39:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 13:39:37 -0500 |
commit | c11fc3b71c2418e07f1b21ed317d626bc94e17c5 (patch) | |
tree | bb73e12d163713eb9a6bb1213572feca4522d854 /actionview | |
parent | 0f57f75008242d1739326fec38791c01852c9aa7 (diff) | |
parent | 46bb787c0482f4b7b7f9d18454806d5ef8863243 (diff) | |
download | rails-c11fc3b71c2418e07f1b21ed317d626bc94e17c5.tar.gz rails-c11fc3b71c2418e07f1b21ed317d626bc94e17c5.tar.bz2 rails-c11fc3b71c2418e07f1b21ed317d626bc94e17c5.zip |
Merge pull request #33268 from benpickles/remove-pubdate-from-docs
Keep time_tag docs up-to-date.
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/date_helper.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb index ae993f9aa2..4de4fafde0 100644 --- a/actionview/lib/action_view/helpers/date_helper.rb +++ b/actionview/lib/action_view/helpers/date_helper.rb @@ -672,8 +672,6 @@ module ActionView # <time datetime="2010-11-04T17:55:45+01:00">November 04, 2010 17:55</time> # time_tag Date.yesterday, 'Yesterday' # => # <time datetime="2010-11-03">Yesterday</time> - # time_tag Date.today, pubdate: true # => - # <time datetime="2010-11-04" pubdate="pubdate">November 04, 2010</time> # time_tag Date.today, datetime: Date.today.strftime('%G-W%V') # => # <time datetime="2010-W44">November 04, 2010</time> # |