Switch to is_a? in nytimes_time

Just a quick fix so that subclasses of `Time` or `DateTime` will be able to be used in `nytimes_time`.