Example #1
0
 /**
  * Test that atom() formats a timestamp to an Atom feed format.
  */
 public function testAtom()
 {
     $time = mktime(16, 35, 0, 2, 26, 1988);
     $this->assertEquals('1988-02-26T16:35:00+00:00', Format::atom($time));
 }