mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fd2f238560
commit
d737ae5449
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
# === Doesn't depend on strftime
|
||||
#
|
||||
# This library doesn't use +strftime+. Especially #rfc2822 doesn't depend
|
||||
# This library doesn't use +Time#strftime+. Especially #rfc2822 doesn't depend
|
||||
# on +strftime+ because:
|
||||
#
|
||||
# * %a and %b are locale sensitive
|
||||
|
@ -35,6 +35,10 @@
|
|||
# %z is required to generate zone in date-time of RFC 2822
|
||||
# but it is not portable.
|
||||
#
|
||||
# Note that +Time#strftime+ doesn't use +strftime()+ function in libc since Ruby 1.9.
|
||||
# This means +Time#strftime+ is locale-insensitive since Ruby 1.9.
|
||||
# The above statements are not valid now.
|
||||
#
|
||||
|
||||
require 'date/format'
|
||||
|
||||
|
|
Loading…
Reference in a new issue