fazlurr
7/17/2014 - 11:08 AM

Fix WP Datetime format - http://wordpress.stackexchange.com/a/55348

<?php
add_filter( 'date_i18n', 'fix_c_time_format', 10, 4 );
function fix_c_time_format( $date, $format, $timestamp, $gmt )
{
  if ( 'c' == $format )
    $date = date_i18n( DATE_ISO8601, $timestamp, $gmt );
  return $date;
}
?>