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