Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Fixed mistake in format string
Browse files Browse the repository at this point in the history
additionally changed the time string to a better value, where hour, min
and seconds values differ.
  • Loading branch information
ramalama committed Aug 22, 2012
1 parent 13101c0 commit c13fd46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/suites/unit/joomla/html/JHtmlTest.php
Expand Up @@ -1367,8 +1367,8 @@ public function testCalendar()
$_SERVER['HTTP_USER_AGENT'] = 'Test Browser';

// two sets of test data
$test_data = array('date' => '2010-05-28 00:00:00', 'friendly_date' => 'Friday, 28 May 2010',
'name' => 'cal1_name', 'id' => 'cal1_id', 'format' => '%Y-%m-%d %H:%M:%i',
$test_data = array('date' => '2010-05-28 14:12:34', 'friendly_date' => 'Friday, 28 May 2010',
'name' => 'cal1_name', 'id' => 'cal1_id', 'format' => '%Y-%m-%d %H:%M:%S',
'attribs' => array()
);

Expand Down

0 comments on commit c13fd46

Please sign in to comment.