提交 2ee33e6c 编写于 作者: Y yuuji.yaginuma

Fix default of `String#to_time` [ci skip]

The default of `String#to_time` is `:local` since b79adc43.
上级 14283115
......@@ -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.
先完成此消息的编辑!
想要评论请 注册