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

ruby-changes:21366

From: drbrain <ko1@a...>
Date: Thu, 6 Oct 2011 09:17:51 +0900 (JST)
Subject: [ruby-changes:21366] drbrain:r33415 (trunk): * time.c (Init_Time): Remove editorial comments from Time

drbrain	2011-10-06 09:17:41 +0900 (Thu, 06 Oct 2011)

  New Revision: 33415

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33415

  Log:
    * time.c (Init_Time):  Remove editorial comments from Time
      documentation, fix link.

  Modified files:
    trunk/ChangeLog
    trunk/time.c

Index: time.c
===================================================================
--- time.c	(revision 33414)
+++ time.c	(revision 33415)
@@ -4837,14 +4837,13 @@
 /*
  *  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 modules Date. The Time class
- *  treats GMT (Greenwich Mean Time) and UTC (Coordinated Universal Time)_[Yes,
- *  UTC really does stand for Coordinated Universal Time. There was a committee
- *  involved.]_ as equivalent.  GMT is the older way of referring to these
- *  baseline times but persists in the names of calls on POSIX systems.
+ *  00:00 UTC. Also see the library modules Date. 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.
  *
  *  All times may have fraction. Be aware of this fact when comparing times
- *  with each other--times that are apparently equal when displayed may be
+ *  with each other -- times that are apparently equal when displayed may be
  *  different when compared.
  *
  *  = Examples
@@ -4869,8 +4868,8 @@
  *  timezones instead of using the current system setting.
  *
  *  You can also create a new time using Time.at which takes the number of
- *  seconds (or fraction of seconds) since the Unix
- *  Epoch[http://en.wikipedia.org/wiki/Unix_time].
+ *  seconds (or fraction of seconds) since the {Unix
+ *  Epoch}[http://en.wikipedia.org/wiki/Unix_time].
  *
  *    Time.at(628232400) #=> 1989-11-28 00:00:00 -0500
  *
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33414)
+++ ChangeLog	(revision 33415)
@@ -1,3 +1,8 @@
+Thu Oct  6 09:17:18 2011  Eric Hodel  <drbrain@s...>
+
+	* time.c (Init_Time):  Remove editorial comments from Time
+	  documentation, fix link.
+
 Thu Oct  6 09:14:20 2011  Eric Hodel  <drbrain@s...>
 
 	* time.c (Init_Time):  Improve Time documentation.  Patch by Shane

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

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