Variable hour formats don't add an extra space any longer. Fixes bug #11915.
This commit is contained in:
parent
dac8186244
commit
19a87ea003
5 changed files with 20 additions and 9 deletions
|
|
@ -29,7 +29,7 @@ my @testSets = (
|
|||
},
|
||||
{
|
||||
format => '',
|
||||
output =>'8/16/2001 8:00 am',
|
||||
output =>'8/16/2001 8:00 am',
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ is($output, $session->datetime->epochToHuman($time1), 'checking default time and
|
|||
|
||||
##Checking for edge case, time=0
|
||||
is WebGUI::Macro::D_date::process($session, '', 0),
|
||||
'12/31/1969 6:00 pm',
|
||||
'12/31/1969 6:00 pm',
|
||||
'...checking for handling time=0';
|
||||
|
||||
lives_ok { WebGUI::Macro::D_date::process($session, '', ' 0') }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue