change date handler to arrow