mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* time.c (time_sec): Remove extra wording about leap seconds and refer
directly to Wikipedia's leap second page for further information. [Bug #6749] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									0357ac8a38
								
							
						
					
					
						commit
						b773a4f803
					
				
					 2 changed files with 10 additions and 5 deletions
				
			
		|  | @ -1,3 +1,9 @@ | |||
| Tue Jul 31 06:18:06 2012  Eric Hodel  <drbrain@segment7.net> | ||||
| 
 | ||||
| 	* time.c (time_sec):  Remove extra wording about leap seconds and refer | ||||
| 	  directly to Wikipedia's leap second page for further information. | ||||
| 	  [Bug #6749] | ||||
| 
 | ||||
| Mon Jul 30 23:01:47 2012  NARUSE, Yui  <naruse@ruby-lang.org> | ||||
| 
 | ||||
| 	* lib/rubygems/platform.rb (Gem::Platform#initialize): Support pattern | ||||
|  |  | |||
							
								
								
									
										9
									
								
								time.c
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								time.c
									
										
									
									
									
								
							|  | @ -3884,11 +3884,10 @@ time_round(int argc, VALUE *argv, VALUE time) | |||
|  *     time.sec -> fixnum | ||||
|  * | ||||
|  *  Returns the second of the minute (0..60) for <i>time</i>. | ||||
|  *  <em>[Yes, seconds really can range from zero to 60. This allows the | ||||
|  *  system to inject leap seconds every now and then to correct for the | ||||
|  *  fact that UTC is based on solar time so days are not exactly 86400 | ||||
|  *  seconds or 24 hours long.  See http://en.wikipedia.org/wiki/Leap_second
 | ||||
|  *  for further details.]</em> | ||||
|  * | ||||
|  *  <em>[Yes, seconds range from zero to 60.  This allows the system to inject | ||||
|  *  leap seconds.  See http://en.wikipedia.org/wiki/Leap_second for further
 | ||||
|  *  details.]</em> | ||||
|  * | ||||
|  *     t = Time.now   #=> 2007-11-19 08:25:02 -0600 | ||||
|  *     t.sec          #=> 2 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 drbrain
						drbrain