diff options
author | terry%mozilla.org <> | 1999-12-04 04:28:17 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 1999-12-04 04:28:17 +0100 |
commit | 95d743ca823afccd8e6a106926cd7b9798b5ca2b (patch) | |
tree | 6c71eebaf983987f1c1a98f822c033e1db2b45a1 | |
parent | 69b0cad73f81af9cb0ba125fae6bdcddc6a294aa (diff) | |
download | bugzilla-95d743ca823afccd8e6a106926cd7b9798b5ca2b.tar.gz bugzilla-95d743ca823afccd8e6a106926cd7b9798b5ca2b.tar.xz |
Fixed bug 20126 -- use more international-friendly (and Y2K happier) date formats.
-rw-r--r-- | bug_form.pl | 6 | ||||
-rw-r--r-- | globals.pl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bug_form.pl b/bug_form.pl index 11d005983..a39edf3d0 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 " <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%\"> </td> -<td align=right>Opened: $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> "; diff --git a/globals.pl b/globals.pl index 8641534f9..e6f426af8 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) . |