mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Match each Time.now
for comparison [ci skip]
This commit is contained in:
parent
116e52f3b4
commit
83244b8c89
1 changed files with 2 additions and 2 deletions
4
timev.rb
4
timev.rb
|
@ -211,7 +211,7 @@ class Time
|
|||
# This is the same as Time.new without arguments.
|
||||
#
|
||||
# Time.now # => 2009-06-24 12:39:54 +0900
|
||||
# Time.now(in: '+04:00') # => 2021-04-30 01:56:44 +0400
|
||||
# Time.now(in: '+04:00') # => 2009-06-24 07:39:54 +0400
|
||||
#
|
||||
# Parameter:
|
||||
# :include: doc/time/in.rdoc
|
||||
|
@ -225,7 +225,7 @@ class Time
|
|||
# and optional keyword argument +in+:
|
||||
#
|
||||
# Time.at(Time.new) # => 2021-04-26 08:52:31.6023486 -0500
|
||||
# Time.at(Time.new, in: '+09:00') # => 2021-04-26 22:52:32.1480341 +0900
|
||||
# Time.at(Time.new, in: '+09:00') # => 2021-04-26 22:52:31.6023486 +0900
|
||||
#
|
||||
# _Seconds_
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue