diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-25 23:24:33 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-25 23:24:33 +0000 |
commit | 4544b3824c8ce74e0a92c58a3167f900904f506b (patch) | |
tree | a1a44d418b10817e48074fed532a8969a07a5a17 /NEWS | |
parent | a6e30a87140512445892d464b841a8ef60e0d012 (diff) | |
download | ruby-4544b3824c8ce74e0a92c58a3167f900904f506b.tar.gz |
* time.c (strftimev): Make Time#to_s default to US-ASCII encoding but
respect Encoding.default_internal. [ruby-core:39092]
* test/ruby/test_time.rb (class TestTime): Corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,6 +24,11 @@ with all sufficient information, see the ChangeLog file. * Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM are specified. + * Time + * change return value: + * Time#to_s returned encoding defaults to US-ASCII but automatically + transcodes to Encoding.default_internal if it is set. + === Language changes === Compatibility issues (excluding feature bug fixes) |