aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorBen Pickles <spideryoung@gmail.com>2018-06-19 18:33:19 +0100
committerBen Pickles <spideryoung@gmail.com>2018-07-01 12:33:00 +0100
commit46bb787c0482f4b7b7f9d18454806d5ef8863243 (patch)
tree9624a0d11505ef905b7b110f6021cf60ab8afe3e /actionview
parentdca5596f997b863a2de6a0fe1ed2c26a9f027359 (diff)
downloadrails-46bb787c0482f4b7b7f9d18454806d5ef8863243.tar.gz
rails-46bb787c0482f4b7b7f9d18454806d5ef8863243.tar.bz2
rails-46bb787c0482f4b7b7f9d18454806d5ef8863243.zip
Keep time_tag docs up-to-date.
The pubdate attribute was removed from the spec, see 940eec417f20e53abd3e3114c7fa845dac0d3a62 for context.
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>
#