diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-16 06:36:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-16 06:36:00 +0000 |
commit | 77130e7ab25a509595040199e6e10be0a8924c2e (patch) | |
tree | 07aa0e8f417a0fad0207b4d800fc9569641f5255 /modules/blogapi | |
parent | bd4fe6ede995505587c3440130d22faddf3bb4a3 (diff) | |
download | brdo-77130e7ab25a509595040199e6e10be0a8924c2e.tar.gz brdo-77130e7ab25a509595040199e6e10be0a8924c2e.tar.bz2 |
- Patch #36079 by James: fixed date handling in blogapi.module.
Diffstat (limited to 'modules/blogapi')
-rw-r--r-- | modules/blogapi/blogapi.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 62f415675..fd2ddddef 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) { |