diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-08-22 15:44:06 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-08-22 18:42:25 +0200 |
commit | a7e28264b73a2a25d17624ede419c9f95f9ddb1a (patch) | |
tree | 5ba1b6bd3d7187c1fad9aca9fdb7fae023a45e5f /index.pl | |
parent | 2615b78317409f7971b340f907eaface423e107f (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-x | index.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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', |