Add Zip namespace to DOSTime class
In the top level, it conflicts with the archive-zip library's class of the same name.
This commit is contained in:
parent
156c0c04b5
commit
ab99778c37
|
@ -1,4 +1,5 @@
|
||||||
class DOSTime < Time #:nodoc:all
|
module Zip
|
||||||
|
class DOSTime < Time #:nodoc:all
|
||||||
|
|
||||||
#MS-DOS File Date and Time format as used in Interrupt 21H Function 57H:
|
#MS-DOS File Date and Time format as used in Interrupt 21H Function 57H:
|
||||||
|
|
||||||
|
@ -40,6 +41,7 @@ class DOSTime < Time #:nodoc:all
|
||||||
return self.local(year, month, day, hour, minute, second)
|
return self.local(year, month, day, hour, minute, second)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Copyright (C) 2002, 2003 Thomas Sondergaard
|
# Copyright (C) 2002, 2003 Thomas Sondergaard
|
||||||
|
|
Loading…
Reference in New Issue