fix missing diffDate method