having issues with date-helpers