mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e279c5d6e5
commit
d40578e438
1 changed files with 5 additions and 5 deletions
10
lib/time.rb
10
lib/time.rb
|
@ -214,11 +214,11 @@ class Time
|
||||||
#
|
#
|
||||||
# # Suppose it is "Thu Nov 29 14:33:20 GMT 2001" now and
|
# # Suppose it is "Thu Nov 29 14:33:20 GMT 2001" now and
|
||||||
# # your timezone is GMT:
|
# # your timezone is GMT:
|
||||||
# now =
|
# now = Time.parse("Thu Nov 29 14:33:20 GMT 2001")
|
||||||
# Time.parse("16:30") #=> 2001-11-29 16:30:00 +0900
|
# Time.parse("16:30", now) #=> 2001-11-29 16:30:00 +0900
|
||||||
# Time.parse("7/23") #=> 2001-07-23 00:00:00 +0900
|
# Time.parse("7/23", now) #=> 2001-07-23 00:00:00 +0900
|
||||||
# Time.parse("Aug 31") #=> 2001-08-31 00:00:00 +0900
|
# Time.parse("Aug 31", now) #=> 2001-08-31 00:00:00 +0900
|
||||||
# Time.parse("Aug 2000") #=> 2000-08-01 00:00:00 +0900
|
# Time.parse("Aug 2000", now) #=> 2000-08-01 00:00:00 +0900
|
||||||
#
|
#
|
||||||
# Since there are numerous conflicts among locally defined timezone
|
# Since there are numerous conflicts among locally defined timezone
|
||||||
# abbreviations all over the world, this method is not made to
|
# abbreviations all over the world, this method is not made to
|
||||||
|
|
Loading…
Reference in a new issue