Add negative offset for dates in the past

A config parameter for dates in the past was added.