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