aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@netscape.net>2017-08-06 00:48:41 +0200
committerFrédéric Buclin <LpSolit@netscape.net>2017-08-06 01:48:50 +0200
commit137f5701a13a5f4415a3ce99e50151787b9b6a74 (patch)
tree96aef23c542fb096424dc1e9120ba265684da348
parentbdcda45effd2fec32779200c4ee42e957c8ce0d9 (diff)
downloadbugs-137f5701a13a5f4415a3ce99e50151787b9b6a74.tar
bugs-137f5701a13a5f4415a3ce99e50151787b9b6a74.tar.gz
bugs-137f5701a13a5f4415a3ce99e50151787b9b6a74.tar.bz2
bugs-137f5701a13a5f4415a3ce99e50151787b9b6a74.tar.xz
bugs-137f5701a13a5f4415a3ce99e50151787b9b6a74.zip
Use the DD.MM.YY format for dates in Old and New Charts
-rw-r--r--Bugzilla/Chart.pm2
-rwxr-xr-xreports.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm
index 3c69006aa..2189084fa 100644
--- a/Bugzilla/Chart.pm
+++ b/Bugzilla/Chart.pm
@@ -408,7 +408,7 @@ sub generateDateProgression {
$dateto += (2 * $oneday) / 3;
while ($datefrom < $dateto) {
- push (@progression, time2str("%Y-%m-%d", $datefrom));
+ push (@progression, time2str("%d.%m.%y", $datefrom));
$datefrom += $oneday;
}
diff --git a/reports.cgi b/reports.cgi
index 89dee1c9a..9fc2b6722 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -170,7 +170,7 @@ sub generate_chart {
my @line = split /\|/;
my $date = $line[0];
my ($yy, $mm, $dd) = $date =~ /^\d{2}(\d{2})(\d{2})(\d{2})$/;
- push @{$data{DATE}}, "$mm/$dd/$yy";
+ push @{$data{DATE}}, "$dd.$mm.$yy";
for my $i (1 .. $#fields) {
my $field = $fields[$i];