提交 992e719d 编写于 作者: R Ryuta Kamizono 提交者: GitHub

Merge pull request #30835 from y-yagi/fix_default_of_to_time

Fix default of `String#to_time` [ci skip]
......@@ -1752,7 +1752,7 @@ The methods `to_date`, `to_time`, and `to_datetime` are basically convenience wr
"2010-07-27 23:42:00".to_time(:local) # => 2010-07-27 23:42:00 +0200
```
Default is `:utc`.
Default is `:local`.
Please refer to the documentation of `Date._parse` for further details.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册