aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRichard Schneeman <richard.schneeman+no-recruiters@gmail.com>2018-07-21 13:39:37 -0500
committerGitHub <noreply@github.com>2018-07-21 13:39:37 -0500
commitc11fc3b71c2418e07f1b21ed317d626bc94e17c5 (patch)
treebb73e12d163713eb9a6bb1213572feca4522d854 /actionview
parent0f57f75008242d1739326fec38791c01852c9aa7 (diff)
parent46bb787c0482f4b7b7f9d18454806d5ef8863243 (diff)
downloadrails-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.rb2
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>
#