public function testFormat()
 {
     $literal = new EasyRdf_Literal_Date('5th August 2011');
     $this->assertEquals('05 Aug 11', $literal->format('d M y'));
 }
예제 #2
0
 public function testFormat()
 {
     $literal = new EasyRdf_Literal_Date('2011-08-05');
     $this->assertSame('05 Aug 11', $literal->format('d M y'));
 }