summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-06 00:17:41 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-06 00:17:41 +0000
commit9edfa89744eae3aa286f6bb746fe16fdc6dd42af (patch)
tree19fb643647dfa98eb272f2ba3ba78451e524467e
parent0d900cecdfdaa833ab436863bbf2c3dac464d608 (diff)
* time.c (Init_Time): Remove editorial comments from Time
documentation, fix link. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--time.c15
2 files changed, 12 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 23a0589e30..78787cc8bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 6 09:17:18 2011 Eric Hodel <drbrain@segment7.net>
+
+ * time.c (Init_Time): Remove editorial comments from Time
+ documentation, fix link.
+
Thu Oct 6 09:14:20 2011 Eric Hodel <drbrain@segment7.net>
* time.c (Init_Time): Improve Time documentation. Patch by Shane
diff --git a/time.c b/time.c
index 00b80506f2..51c230f6de 100644
--- a/time.c
+++ b/time.c
@@ -4837,14 +4837,13 @@ time_load(VALUE klass, VALUE str)
/*
* 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 @@ time_load(VALUE klass, VALUE str)
* 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
*