[drupal-devel] [bug] function format_date uses gmdate() incorrectly
thehunmonkgroup
drupal-devel at drupal.org
Sat Aug 27 04:47:41 UTC 2005
Issue status update for
http://drupal.org/node/29681
Post a follow up:
http://drupal.org/project/comments/add/29681
Project: Drupal
Version: cvs
Component: base system
Category: bug reports
Priority: normal
Assigned to: thehunmonkgroup
Reported by: thehunmonkgroup
Updated by: thehunmonkgroup
-Status: active
+Status: patch (code needs review)
switching to patch status
thehunmonkgroup
Previous comments:
------------------------------------------------------------------------
Thu, 25 Aug 2005 22:04:51 +0000 : thehunmonkgroup
Attachment: http://drupal.org/files/issues/format_date.patch (817 bytes)
function format_date in common.inc is using gmdate() incorrectly. the
function is trying to format a local timestamp, and GMT conversion is
incorrect in this case. date() should be used instead. bug also
exists in 4.6, and this patch should apply there, too. haven't checked
the earlier versions of drupal...
More information about the drupal-devel
mailing list