Replaced getDateFormat with getDefaultProps React pattern.