diff --git a/modules/node.module b/modules/node.module index 6aede84346aa..cfd7703085f1 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1210,7 +1210,7 @@ function node_validate($node) { } if (!$node->date) { - $node->date = format_date($node->created, 'custom', 'Y-m-d H:i O'); + $node->date = format_date($node->created, 'custom', 'Y-m-d H:i:s O'); } // Validate the "authored by" field. diff --git a/modules/node/node.module b/modules/node/node.module index 6aede84346aa..cfd7703085f1 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1210,7 +1210,7 @@ function node_validate($node) { } if (!$node->date) { - $node->date = format_date($node->created, 'custom', 'Y-m-d H:i O'); + $node->date = format_date($node->created, 'custom', 'Y-m-d H:i:s O'); } // Validate the "authored by" field.