diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-10-08 18:34:43 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-10-08 18:37:19 +0900 |
commit | 2ee33e6c56289642f61b99d125555559cda36f95 (patch) | |
tree | 2209c7eaffe068517a066934ea7f30ce123f81f2 /guides | |
parent | 142831159c0d72c7bf2e23a35bfdbdccd8b5a931 (diff) | |
download | rails-2ee33e6c56289642f61b99d125555559cda36f95.tar.gz rails-2ee33e6c56289642f61b99d125555559cda36f95.tar.bz2 rails-2ee33e6c56289642f61b99d125555559cda36f95.zip |
Fix default of `String#to_time` [ci skip]
The default of `String#to_time` is `:local` since b79adc4.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_support_core_extensions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md index ae573cc77c..067a7b7cb6 100644 --- a/guides/source/active_support_core_extensions.md +++ b/guides/source/active_support_core_extensions.md @@ -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. |