Fix correct date format depending on general settings of wordpress admin