fix: formatedDate helper syntax