From: Aaron Patterson Date: 2012-01-19T04:21:11+09:00 Subject: [ruby-core:42173] [ruby-trunk - Bug #5908][Open] Date.httpdate, rfc2822, and xmlschema mutate their arguments Issue #5908 has been reported by Aaron Patterson. ---------------------------------------- Bug #5908: Date.httpdate, rfc2822, and xmlschema mutate their arguments https://bugs.ruby-lang.org/issues/5908 Author: Aaron Patterson Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0dev (2012-01-16 trunk 34316) [x86_64-darwin11.2.0] Date.httpdate, rfc2822, and xmlschema all mutate the string that is passed in. I've attached a patch that fixes the problem along with tests that demonstrate the issue. -- http://bugs.ruby-lang.org/