$setViewValue after altering date