- Patch #24002: fixed node created timestamp changing on node edit.

4.7.x
Dries Buytaert 2005-08-07 15:53:26 +00:00
parent 273d7f59b6
commit 2a87b5029b
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.