Added support for negative timestamps