diff --git a/modules/blogapi.module b/modules/blogapi.module index 62f4156754ca66f7bb523bf86581742aafc25e1d..fd2ddddef68a5e15b247a57f39ffa732f29c8b23 100644 --- a/modules/blogapi.module +++ b/modules/blogapi.module @@ -676,7 +676,7 @@ function _blogapi_mt_extra(&$node, $struct) { // dateCreated if ($struct['dateCreated']) { - $node->date = $struct['dateCreated']->iso8601; + $node->date = format_date(mktime($struct['dateCreated']->hour, $struct['dateCreated']->minute, $struct['dateCreated']->second, $struct['dateCreated']->month, $struct['dateCreated']->day, $struct['dateCreated']->year), 'custom', 'Y-m-d H:i:s O'); } if ($was_array) { diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 62f4156754ca66f7bb523bf86581742aafc25e1d..fd2ddddef68a5e15b247a57f39ffa732f29c8b23 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -676,7 +676,7 @@ function _blogapi_mt_extra(&$node, $struct) { // dateCreated if ($struct['dateCreated']) { - $node->date = $struct['dateCreated']->iso8601; + $node->date = format_date(mktime($struct['dateCreated']->hour, $struct['dateCreated']->minute, $struct['dateCreated']->second, $struct['dateCreated']->month, $struct['dateCreated']->day, $struct['dateCreated']->year), 'custom', 'Y-m-d H:i:s O'); } if ($was_array) {