public function testIntervalSpecIgnoresBadDays() { $expected = '2 years or (unknown) days'; $input = '%y years or %a days'; $tint = new TimeInterval('P2Y-730'); $actual = $tint->format($input); $this->assertSame($expected, $actual); }