diff --git a/mailpoet/views/newsletters.html b/mailpoet/views/newsletters.html
index cf13776b2a..0cffed6ed6 100644
--- a/mailpoet/views/newsletters.html
+++ b/mailpoet/views/newsletters.html
@@ -19,7 +19,7 @@
var mailpoet_current_time = <%= json_encode(current_time) %>;
var mailpoet_current_date_time = <%= json_encode(current_date_time) %>;
var mailpoet_schedule_time_of_day = <%= json_encode(schedule_time_of_day) %>;
- var mailpoet_date_display_format = "<%= wp_date_format() %>";
+ var mailpoet_date_display_format = "<%= wp_datetime_format()|escape('js') %>";
var mailpoet_date_storage_format = "Y-m-d";
var mailpoet_product_categories = <%= json_encode(product_categories) %>;
var mailpoet_products = <%= json_encode(products) %>;