提交 7750b049 编写于 作者: प्रथमेश Sonpatki 提交者: GitHub

Merge pull request #26636 from y-yagi/fix_typo_in_all_week

fix typo in `DateAndTime::Calculations#all_week` doc [ci skip]
......@@ -300,7 +300,7 @@ def all_day
end
# Returns a Range representing the whole week of the current date/time.
# Week starts on start_day, default is <tt>Date.week_start</tt> or <tt>config.week_start</tt> when set.
# Week starts on start_day, default is <tt>Date.beginning_of_week</tt> or <tt>config.beginning_of_week</tt> when set.
def all_week(start_day = Date.beginning_of_week)
beginning_of_week(start_day)..end_of_week(start_day)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册