* lib/time.rb: [DOC] typo in Time.rb overview by @srt32 [Fixes GH-416]

https://github.com/ruby/ruby/pull/416


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-10-07 11:32:05 +00:00
Родитель da6229a3a0
Коммит 1956ca5d4b
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Mon Oct 7 20:29:31 2013 Zachary Scott <e@zzak.io>
* lib/time.rb: [DOC] typo in Time.rb overview by @srt32 [Fixes GH-416]
https://github.com/ruby/ruby/pull/416
Mon Oct 7 20:07:20 2013 Tanaka Akira <akr@fsij.org>
* lib/time.rb (Time.strptime): Use :offset.

Просмотреть файл

@ -80,7 +80,7 @@ require 'date'
#
# #strptime works similar to +parse+ except that instead of using a heuristic
# to detect the format of the input string, you provide a second argument that
# is describes the format of the string. For example:
# describes the format of the string. For example:
#
# Time.strptime("2000-10-31", "%Y-%m-%d") #=> 2000-10-31 00:00:00 -0500