def date(arg)
      if arg.class != Time
        time_non_zero(Time.parse(arg))
      else
        time_non_zero(arg)
      end
    end
def date(arg)
      if arg.class != Time
        time_non_zero(Time.parse(arg))
      else
        time_non_zero(arg)
      end
    end
Dates returned by Github are formatted as:
 - yyyy-mm-ddThh:mm:ssZ
 - yyyy/mm/dd hh:mm:ss {+/-}hhmm