]> source.dussan.org Git - redmine.git/commitdiff
Add namespace to Time (#11298).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 6 Sep 2012 17:23:57 +0000 (17:23 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 6 Sep 2012 17:23:57 +0000 (17:23 +0000)
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

index 5814d00cb0caa2ecf952572594e6ea6aecd84dba..2bd32c1bfa817dc52fc6a8705344abda2b4092f4 100644 (file)
@@ -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