diff options
author | Xavier Noria <fxn@hashref.com> | 2010-06-28 00:04:38 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-06-28 00:04:38 +0200 |
commit | c37f7d66e49ffe5ac2115cc30e5529fd1c2924a8 (patch) | |
tree | 6613f7af418aa1fe72f0efa142b5dbb69b4d847f /railties/guides | |
parent | 8de0939708a9d4b61beafe449afb84beb24cddec (diff) | |
download | rails-c37f7d66e49ffe5ac2115cc30e5529fd1c2924a8.tar.gz rails-c37f7d66e49ffe5ac2115cc30e5529fd1c2924a8.tar.bz2 rails-c37f7d66e49ffe5ac2115cc30e5529fd1c2924a8.zip |
your beloved and infamuous typo only spottable in github colored diff, thank you
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index def48ffd83..844b9428bd 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -1765,7 +1765,7 @@ The methods +to_date+, +to_time+, and +to_datetime+ are basically convenience wr "2010-07-27 23:37:00".to_datetime # => Tue, 27 Jul 2010 23:37:00 +0000 </ruby> -+to_time+ receivers an optional argument +:utc+ or +:local+, to indicate which time zone you want the time in: ++to_time+ receives an optional argument +:utc+ or +:local+, to indicate which time zone you want the time in: <ruby> "2010-07-27 23:42:00".to_time(:utc) # => Tue Jul 27 23:42:00 UTC 2010 |