Commit 95d743ca authored by terry%mozilla.org's avatar terry%mozilla.org

Fixed bug 20126 -- use more international-friendly (and Y2K happier) date formats.

parent 69b0cad7
...@@ -145,7 +145,7 @@ select ...@@ -145,7 +145,7 @@ select
target_milestone, target_milestone,
qa_contact, qa_contact,
status_whiteboard, status_whiteboard,
date_format(creation_ts,'Y-m-d'), date_format(creation_ts,'%Y-%m-%d %H:%i'),
groupset, groupset,
delta_ts, delta_ts,
sum(votes.count) sum(votes.count)
...@@ -486,8 +486,8 @@ print " ...@@ -486,8 +486,8 @@ print "
<A HREF=\"long_list.cgi?buglist=$id\">Format For Printing</A> <A HREF=\"long_list.cgi?buglist=$id\">Format For Printing</A>
</B></FONT><BR> </B></FONT><BR>
</FORM> </FORM>
<table><tr><td align=left><B>Description:</B></td><td width=\"100%\">&nbsp;</td> <table><tr><td align=left><B>Description:</B></td>
<td align=right>Opened:&nbsp;$bug{'creation_ts'}</td></tr></table> <td align=right width=100%>Opened: $bug{'creation_ts'}</td></tr></table>
<HR> <HR>
<PRE> <PRE>
"; ";
......
...@@ -110,7 +110,7 @@ sub AppendComment { ...@@ -110,7 +110,7 @@ sub AppendComment {
SendSQL("select long_desc from bugs where bug_id = $bugid"); SendSQL("select long_desc from bugs where bug_id = $bugid");
my $desc = FetchOneColumn(); 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 .= "\n\n------- Additional Comments From $who $now -------\n";
$desc .= $comment; $desc .= $comment;
SendSQL("update bugs set long_desc=" . SqlQuote($desc) . SendSQL("update bugs set long_desc=" . SqlQuote($desc) .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment