Commit 2cc2ab89 authored by Mike Połtyn's avatar Mike Połtyn

typo in ActiveSupport::TimeWithZone example

parent f79e1064
...@@ -582,7 +582,7 @@ After that multiply the result by 1000: ...@@ -582,7 +582,7 @@ After that multiply the result by 1000:
Time.now.to_i * 1000 # => 1383582043000 Time.now.to_i * 1000 # => 1383582043000
# ActiveSupport examples: # ActiveSupport examples:
DateTime.now.to_i * 1000 # => 1383582043000 DateTime.now.to_i * 1000 # => 1383582043000
ActiveSupport::TimeZone.new('Asia/Shanghai').now.to_i * 100 ActiveSupport::TimeZone.new('Asia/Shanghai').now.to_i * 1000
# => 1383582043000 # => 1383582043000
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment