summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-25 23:24:33 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-25 23:24:33 +0000
commit4544b3824c8ce74e0a92c58a3167f900904f506b (patch)
treea1a44d418b10817e48074fed532a8969a07a5a17 /NEWS
parenta6e30a87140512445892d464b841a8ef60e0d012 (diff)
* 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--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d16e73971c..56a25f31d8 100644
--- a/NEWS
+++ b/NEWS
@@ -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)