summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-02-08 20:38:53 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-02-08 20:38:53 +0000
commit016a8f6830e5dee695137e08c10fbcb2c3f93270 (patch)
tree134c2696b9cd4ca81fce954cd8ad2346a4c5d314
parentbc407492e8a7e0b1366b0aec993c7a59ddf1908a (diff)
downloadbrdo-016a8f6830e5dee695137e08c10fbcb2c3f93270.tar.gz
brdo-016a8f6830e5dee695137e08c10fbcb2c3f93270.tar.bz2
- Removing timezone fix that crept in.
-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 4c319d299..a7b86e31f 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -1075,7 +1075,7 @@ function node_validate($node, &$error) {
}
if (!$node->date) {
- $node->date = format_date($node->created, 'custom', 'Y-m-d H:i O');
+ $node->date = date('M j, Y g:i a', $node->created);
}
if (!is_numeric($node->status)) {
diff --git a/modules/node/node.module b/modules/node/node.module
index 4c319d299..a7b86e31f 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 = format_date($node->created, 'custom', 'Y-m-d H:i O');
+ $node->date = date('M j, Y g:i a', $node->created);
}
if (!is_numeric($node->status)) {