Added support for negative timestamps

Added a possible "-" character at the beginning of the timestamp to allow negative timestamps.