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

ruby-changes:59991

From: Tanaka <ko1@a...>
Date: Mon, 10 Feb 2020 21:41:45 +0900 (JST)
Subject: [ruby-changes:59991] 2dea81f477 (master): Don't refer Date in the document for Time.

https://git.ruby-lang.org/ruby.git/commit/?id=2dea81f477

From 2dea81f47728b9a28831dd91fc14dafcc3d29271 Mon Sep 17 00:00:00 2001
From: Tanaka Akira <akr@f...>
Date: Mon, 10 Feb 2020 21:41:15 +0900
Subject: Don't refer Date in the document for Time.


diff --git a/time.c b/time.c
index 61d81e5..2b5d451 100644
--- a/time.c
+++ b/time.c
@@ -5697,8 +5697,9 @@ rb_time_zone_abbreviation(VALUE zone, VALUE time) https://github.com/ruby/ruby/blob/trunk/time.c#L5697
 
 /*
  *  Time is an abstraction of dates and times. Time is stored internally as
- *  the number of seconds with fraction since the _Epoch_, January 1, 1970
- *  00:00 UTC. Also see the library module Date. The Time class treats GMT
+ *  the number of seconds with fraction since the _Epoch_,
+ *  1970-01-01 00:00:00 UTC.
+ *  The Time class treats GMT
  *  (Greenwich Mean Time) and UTC (Coordinated Universal Time) as equivalent.
  *  GMT is the older way of referring to these baseline times but persists in
  *  the names of calls on POSIX systems.
-- 
cgit v0.10.2


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

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