Fixes issue with date being off by 1 day