diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2004-02-08 21:42:59 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2004-02-08 21:42:59 +0000 |
commit | 97c2aa2bda7c25e89770b25f5810cc544272c08c (patch) | |
tree | f0636119d58415da7194712ee42f022541d17685 /modules/node/node.module | |
parent | 325f9891b28ef3d1bb8f385057ad487ce9e9c79e (diff) | |
download | brdo-97c2aa2bda7c25e89770b25f5810cc544272c08c.tar.gz brdo-97c2aa2bda7c25e89770b25f5810cc544272c08c.tar.bz2 |
- Modified format_date() to handle timezones properly.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |