summaryrefslogtreecommitdiffstats
path: root/index.pl
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2012-08-22 15:44:06 +0200
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>2012-08-22 18:42:25 +0200
commita7e28264b73a2a25d17624ede419c9f95f9ddb1a (patch)
tree5ba1b6bd3d7187c1fad9aca9fdb7fae023a45e5f /index.pl
parent2615b78317409f7971b340f907eaface423e107f (diff)
Fix date handling
Apparently formbuilder expects MM/DD/YYYY for its dates. Change-Id: I9f169e64962569cc75120eb82b5f067bb87181c3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'index.pl')
-rwxr-xr-xindex.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index 69d4f07..6a29194 100755
--- a/index.pl
+++ b/index.pl
@@ -62,7 +62,7 @@ if ($form->submitted && $form->validate) {
} else {
# Auto-fill with today's date
- my $now = strftime("%d/%m/%Y", localtime);
+ my $now = strftime("%m/%d/%Y", localtime);
$form->field(name => 'report_date',
value => $now);
$form->field(name => 'package_date',