Change behavior of `get_locator` to accurately calculate number of days between two points.

Signed-off-by: Paul G <p.ganssle@gmail.com>