]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fixed bug 20126 -- use more international-friendly (and Y2K happier) date formats.
authorterry%mozilla.org <>
Sat, 4 Dec 1999 03:28:17 +0000 (03:28 +0000)
committerterry%mozilla.org <>
Sat, 4 Dec 1999 03:28:17 +0000 (03:28 +0000)
bug_form.pl
globals.pl

index 11d0059830a66c313eb6c3b9caa3a653fe260aab..a39edf3d035e0c6a72e4d1148ebcbde28efd97fd 100644 (file)
@@ -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 "
  <A HREF=\"long_list.cgi?buglist=$id\">Format For Printing</A>
 </B></FONT><BR>
 </FORM>
-<table><tr><td align=left><B>Description:</B></td><td width=\"100%\">&nbsp;</td>
-<td align=right>Opened:&nbsp;$bug{'creation_ts'}</td></tr></table>
+<table><tr><td align=left><B>Description:</B></td>
+<td align=right width=100%>Opened: $bug{'creation_ts'}</td></tr></table>
 <HR>
 <PRE>
 ";
index 8641534f966dc9e967bcc0c7e931f5092fc7ff1c..e6f426af820109b5139307325d4223dc4fe6ef81 100644 (file)
@@ -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) .