updated time string regexp to handle negative days