From: terry%mozilla.org <>
Date: Sat, 4 Dec 1999 03:28:17 +0000 (+0000)
Subject: Fixed bug 20126 -- use more international-friendly (and Y2K happier) date formats.
X-Git-Tag: bugzilla-2.12~500
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95d743ca823afccd8e6a106926cd7b9798b5ca2b;p=thirdparty%2Fbugzilla.git
Fixed bug 20126 -- use more international-friendly (and Y2K happier) date formats.
---
diff --git a/bug_form.pl b/bug_form.pl
index 11d0059830..a39edf3d03 100644
--- a/bug_form.pl
+++ b/bug_form.pl
@@ -145,7 +145,7 @@ select
target_milestone,
qa_contact,
status_whiteboard,
- date_format(creation_ts,'Y-m-d'),
+ date_format(creation_ts,'%Y-%m-%d %H:%i'),
groupset,
delta_ts,
sum(votes.count)
@@ -486,8 +486,8 @@ print "
Format For Printing
-
Description: | |
-Opened: $bug{'creation_ts'} |
+Description: |
+Opened: $bug{'creation_ts'} |
";
diff --git a/globals.pl b/globals.pl
index 8641534f96..e6f426af82 100644
--- a/globals.pl
+++ b/globals.pl
@@ -110,7 +110,7 @@ sub AppendComment {
SendSQL("select long_desc from bugs where bug_id = $bugid");
my $desc = FetchOneColumn();
- my $now = time2str("%D %H:%M", time());
+ my $now = time2str("%Y-%m-%d %H:%M", time());
$desc .= "\n\n------- Additional Comments From $who $now -------\n";
$desc .= $comment;
SendSQL("update bugs set long_desc=" . SqlQuote($desc) .