From: Jean-Philippe Lang Date: Thu, 6 Sep 2012 17:23:57 +0000 (+0000) Subject: Add namespace to Time (#11298). X-Git-Tag: 1.4.5~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=49295481de7c8b797f015045438662f42ffaec78;p=redmine.git Add namespace to Time (#11298). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@10299 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/views/builders/xml.rb b/lib/redmine/views/builders/xml.rb index 5814d00cb..2bd32c1bf 100644 --- a/lib/redmine/views/builders/xml.rb +++ b/lib/redmine/views/builders/xml.rb @@ -29,7 +29,7 @@ module Redmine end def method_missing(sym, *args, &block) - if args.size == 1 && args.first.is_a?(Time) + if args.size == 1 && args.first.is_a?(::Time) __send__ sym, args.first.xmlschema, &block else super