git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-09-09 23:14:00 +00:00
Родитель 8ecf99f235
Коммит cf7d76f0bc
1 изменённых файлов: 2 добавлений и 2 удалений

4
time.c
Просмотреть файл

@ -4468,8 +4468,8 @@ strftimev(const char *fmt, VALUE time, rb_encoding *enc)
* This method is similar to strftime() function defined in ISO C and POSIX. * This method is similar to strftime() function defined in ISO C and POSIX.
* Several directives (%a, %A, %b, %B, %c, %p, %r, %x, %X, %E*, %O* and %Z) * Several directives (%a, %A, %b, %B, %c, %p, %r, %x, %X, %E*, %O* and %Z)
* are locale dependent in the function. * are locale dependent in the function.
* However this method is almost locale independent since Ruby 1.9. * However this method is locale independent since Ruby 1.9.
* (%Z is only the locale dependent directive.) * (%Z is platform dependent, though.)
* So, the result may differ even if a same format string is used in other * So, the result may differ even if a same format string is used in other
* systems such as C. * systems such as C.
* It is good practice to avoid %x and %X because there are corresponding * It is good practice to avoid %x and %X because there are corresponding