bebanjo/delorean — pull request #18 by yaauie (2012-08-10 21:37:08+00:00)
Title: support subclasses of Date, Time, and DateTime

subclasses of the above classes don't survive the round-trip through `Delorean`, returning their superclass instead. Notably, `Zip::DOSTime` [(rubyzip)](https://github.com/aussiegeek/rubyzip/blob/master/lib/zip/dos_time.rb) inherits from `Time`, but `Zip::DOSTime.now` returns an instance of `Time` [(see #25 in jtrupiano/timecop)](https://github.com/jtrupiano/timecop/issues/25)

This patch alleviates the problem, and attempts to do so in as clean a manner as possible.