Fix date.obj to be a date and not a moment