fix one off error with js dates