diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
commit | 9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch) | |
tree | 0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/date/W3CDTF | |
parent | f5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff) | |
download | volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2 volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip |
Add simplepie
Diffstat (limited to 'simplepie/test/date/W3CDTF')
-rw-r--r-- | simplepie/test/date/W3CDTF/1.php | 16 | ||||
-rw-r--r-- | simplepie/test/date/W3CDTF/2.php | 16 | ||||
-rw-r--r-- | simplepie/test/date/W3CDTF/README | 1 |
3 files changed, 33 insertions, 0 deletions
diff --git a/simplepie/test/date/W3CDTF/1.php b/simplepie/test/date/W3CDTF/1.php new file mode 100644 index 000000000..d11a59f38 --- /dev/null +++ b/simplepie/test/date/W3CDTF/1.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_W3CDTF_1 extends SimplePie_Date_Test +{ + function data() + { + $this->data = '1994-11-05T08:15:30-05:00'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/W3CDTF/2.php b/simplepie/test/date/W3CDTF/2.php new file mode 100644 index 000000000..9904e2ba1 --- /dev/null +++ b/simplepie/test/date/W3CDTF/2.php @@ -0,0 +1,16 @@ +<?php + +class SimplePie_Date_Test_W3CDTF_2 extends SimplePie_Date_Test +{ + function data() + { + $this->data = '1994-11-05T13:15:30Z'; + } + + function expected() + { + $this->expected = 784041330; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/date/W3CDTF/README b/simplepie/test/date/W3CDTF/README new file mode 100644 index 000000000..4ace48d48 --- /dev/null +++ b/simplepie/test/date/W3CDTF/README @@ -0,0 +1 @@ +The tests enclosed within come from the W3C Date and Time Formats note
\ No newline at end of file |