diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-08 20:01:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 20:01:48 +0900 |
commit | 992e719dbcaeb8b468f3b807af9d3ae090d70841 (patch) | |
tree | 2209c7eaffe068517a066934ea7f30ce123f81f2 /guides | |
parent | 142831159c0d72c7bf2e23a35bfdbdccd8b5a931 (diff) | |
parent | 2ee33e6c56289642f61b99d125555559cda36f95 (diff) | |
download | rails-992e719dbcaeb8b468f3b807af9d3ae090d70841.tar.gz rails-992e719dbcaeb8b468f3b807af9d3ae090d70841.tar.bz2 rails-992e719dbcaeb8b468f3b807af9d3ae090d70841.zip |
Merge pull request #30835 from y-yagi/fix_default_of_to_time
Fix default of `String#to_time` [ci skip]
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. |