mirror of
https://github.com/redmine/redmine.git
synced 2026-07-07 18:12:33 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user