summaryrefslogtreecommitdiff
path: root/timev.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-23 14:12:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-23 14:12:21 +0900
commit83244b8c893ea2e140095888d88146c27959bfc0 (patch)
tree0722311cc0ce1d4d8474935a42b01a9428f127de /timev.rb
parent116e52f3b4b2059349c5add9e746c2ab00a8e743 (diff)
[DOC] Match each `Time.now` for comparison [ci skip]
Diffstat (limited to 'timev.rb')
-rw-r--r--timev.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/timev.rb b/timev.rb
index d48c7976e9..beb7aaaad2 100644
--- a/timev.rb
+++ b/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_
#