summaryrefslogtreecommitdiff
path: root/modules/blogapi.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blogapi.module')
-rw-r--r--modules/blogapi.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module
index 62f415675..fd2ddddef 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) {