Blog post_date format error

edited October 2013 in Bug Reports
When creating a new blog post, the post_date date format appears to be wrong somewhere in the JavaScript / jQuery as dd-mm-yyyy gets parsed as mm-dd-yyyy.

Therefore Sunday 13th October is getting parsed as 10-13-2013 instead of 13-10-2013 which results in 1970-01-01 01:00:00

I'm assuming it's the JS, because adding:
die( '$_POST<pre>' . print_r( $_POST, TRUE ) . '</pre>' );
...to the start of the on_before_save method in blog_posts_model gives the same date.

Any ideas?

Comments

Sign In or Register to comment.