From 49295481de7c8b797f015045438662f42ffaec78 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 6 Sep 2012 17:23:57 +0000 Subject: [PATCH] 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 --- lib/redmine/views/builders/xml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5