I've below date format. which is not able to translate and pass the theme check at the same time.
$date = esc_html( get_theme_mod( 'w_setting', esc_attr__( '07/22/2017', 'w-p' ) ) ); // you cannot alter this line. Need to achieve below output.
Required HTML Output : <p class="date">22<sup>nd</sup> July 2017</p>
Must pass ThemeCheck and Translate. Before you are awarded i want you to show me the output.