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

This commit is contained in:
terry%mozilla.org 1999-12-03 19:28:18 +00:00
parent 72218fe6d8
commit 0713dc58d8
2 changed files with 4 additions and 4 deletions

View 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>
";

View 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) .