提交 d6adcb4e 编写于 作者: C Carlos Antonio da Silva

Merge pull request #9251 from Davidslv/patch-1

Add alias to maintain coherence with other methods, in end_of_day
......@@ -221,6 +221,7 @@ def beginning_of_day
def end_of_day
change(:hour => 23, :min => 59, :sec => 59, :usec => 999999.999)
end
alias :at_end_of_day, :end_of_day
# Returns a new Time representing the start of the month (1st of the month, 0:00)
def beginning_of_month
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册