- 
    Bug 
- 
    Resolution: Fixed
- 
    Major 
- 
    3.1.0-RC6
- 
    None
The datetime unit tests randomly fail sometimes. This is one of the outputs that I encountered while running the tests:
| There were 4 failures: | 
|  | 
| 1) phpbb_datetime_from_format_test::test_relative_format_date with data set #0 ('2014-10-27 06:01', false, '2014-10-27 06:01') | 
| Failed asserting that two strings are equal. | 
| --- Expected | 
| +++ Actual | 
| @@ @@ | 
| -'2014-10-27 06:01' | 
| +'Tomorrow 06:01' | 
|  | 
| /home/marc/Dokumente/Entwicklung/phpbb/tests/datetime/from_format_test.php:124 | 
|  | 
| 2) phpbb_datetime_from_format_test::test_relative_format_date with data set #1 ('2014-10-26 06:01', false, 'Tomorrow 06:01') | 
| Failed asserting that two strings are equal. | 
| --- Expected | 
| +++ Actual | 
| @@ @@ | 
| -'Tomorrow 06:01' | 
| +'Today 06:01' | 
|  | 
| /home/marc/Dokumente/Entwicklung/phpbb/tests/datetime/from_format_test.php:124 | 
|  | 
| 3) phpbb_datetime_from_format_test::test_relative_format_date with data set #3 ('2014-10-25 06:01', false, 'Today 06:01') | 
| Failed asserting that two strings are equal. | 
| --- Expected | 
| +++ Actual | 
| @@ @@ | 
| -'Today 06:01' | 
| +'Yesterday 06:01' | 
|  | 
| /home/marc/Dokumente/Entwicklung/phpbb/tests/datetime/from_format_test.php:124 | 
|  | 
| 4) phpbb_datetime_from_format_test::test_relative_format_date with data set #5 ('2014-10-24 06:01', false, 'Yesterday 06:01') | 
| Failed asserting that two strings are equal. | 
| --- Expected | 
| +++ Actual | 
| @@ @@ | 
| -'Yesterday 06:01' | 
| +'2014-10-24 06:01' | 
|  | 
| /home/marc/Dokumente/Entwicklung/phpbb/tests/datetime/from_format_test.php:124
 | 

