[前][次][番号順一覧][スレッド一覧]

ruby-changes:67218

From: Nobuyoshi <ko1@a...>
Date: Mon, 23 Aug 2021 14:12:55 +0900 (JST)
Subject: [ruby-changes:67218] 83244b8c89 (master): [DOC] Match each `Time.now` for comparison [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=83244b8c89

From 83244b8c893ea2e140095888d88146c27959bfc0 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 23 Aug 2021 14:12:21 +0900
Subject: [DOC] Match each `Time.now` for comparison [ci skip]

---
 timev.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/timev.rb b/timev.rb
index d48c797..beb7aaa 100644
--- a/timev.rb
+++ b/timev.rb
@@ -211,7 +211,7 @@ class Time https://github.com/ruby/ruby/blob/trunk/timev.rb#L211
   # 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 https://github.com/ruby/ruby/blob/trunk/timev.rb#L225
   # 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_
   #
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]