make time_definition more generous in what it accepts (int or string)