diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-06 00:17:41 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-06 00:17:41 +0000 |
commit | 9edfa89744eae3aa286f6bb746fe16fdc6dd42af (patch) | |
tree | 19fb643647dfa98eb272f2ba3ba78451e524467e /time.c | |
parent | 0d900cecdfdaa833ab436863bbf2c3dac464d608 (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
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -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 * |