Change Date picker to use Wordpress date format

This commit is contained in:
Tautvidas Sipavičius
2016-05-18 16:02:51 +03:00
parent 0b3a388a78
commit 91bb215e4d
4 changed files with 82 additions and 18 deletions

View File

@@ -12,6 +12,8 @@
var mailpoet_current_date = <%= json_encode(current_date) %>;
var mailpoet_current_time = <%= json_encode(current_time) %>;
var mailpoet_schedule_time_of_day = <%= json_encode(schedule_time_of_day) %>;
var mailpoet_date_display_format = "<%= wp_date_format() %>";
var mailpoet_date_storage_format = "Y-m-d";
</script>
<% endblock %>