diff options
Diffstat (limited to 'simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php')
-rw-r--r-- | simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php new file mode 100644 index 000000000..27206e6c2 --- /dev/null +++ b/simplepie/test/first_item_date/SPtests/rss/2.0/atom/0.3/created.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Date_Test_RSS_20_Atom_03_Created extends SimplePie_First_Item_Date_Test +{ + function data() + { + $this->data = +'<rss version="2.0" xmlns:a="http://purl.org/atom/ns#"> + <channel> + <item> + <a:created>2007-01-11T16:00:00Z</a:created> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 1168531200; + } +} + +?>
\ No newline at end of file |