From: tadayoshi funaba Date: 2012-01-19T07:14:31+09:00 Subject: [ruby-core:42175] [ruby-trunk - Bug #5908][Closed] Date.httpdate, rfc2822, and xmlschema mutate their arguments Issue #5908 has been updated by tadayoshi funaba. Status changed from Open to Closed Assignee set to tadayoshi funaba ---------------------------------------- Bug #5908: Date.httpdate, rfc2822, and xmlschema mutate their arguments https://bugs.ruby-lang.org/issues/5908 Author: Aaron Patterson Status: Closed Priority: Normal Assignee: tadayoshi funaba 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/