From 97c2aa2bda7c25e89770b25f5810cc544272c08c Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 8 Feb 2004 21:42:59 +0000 Subject: - Modified format_date() to handle timezones properly. --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index e5b9d29c5..5664702ab 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1075,7 +1075,7 @@ function node_validate($node, &$error) { } if (!$node->date) { - $node->date = date('M j, Y g:i a', $node->created); + $node->date = format_date($node->created, 'custom', 'Y-m-d H:i O'); } if (!is_numeric($node->status)) { -- cgit v1.2.3