Fix comments testsuite to not rely on Date::Parse's ability to parse the date Columbus discovered America. Closes: #640350

This is such a pity. smcv had these great dates, but squeeze's Date::Parse
cannot parse them.

Oh well, at least it makes for a great bug closure title.
master
Joey Hess 2011-09-05 13:15:59 -04:00
parent 336e50f005
commit f774f20913
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View File

@ -23,6 +23,8 @@ ikiwiki (3.20110716) UNRELEASED; urgency=low
* search: Fix encoding bug in calculation of maximum term size.
* inline: When indexing internal pages for searching, use the url of
the inlining page.
* Fix comments testsuite to not rely on Date::Parse's ability to
parse the date Columbus discovered America. Closes: #640350
-- Joey Hess <joeyh@debian.org> Tue, 19 Jul 2011 11:22:52 -0400

View File

@ -21,14 +21,14 @@ writefile("post/comment_3._comment", "t/tmp/in", $comment);
$comment = <<EOF;
[[!comment username="christopher"
date="1492-10-12T07:00:00Z"
date="1969-02-12T07:00:00Z"
content="I explored"]]
EOF
writefile("post/comment_2._comment", "t/tmp/in", $comment);
$comment = <<EOF;
[[!comment username="william"
date="1066-10-14T12:00:00Z"
date="1969-01-14T12:00:00Z"
content="I conquered"]]
EOF
writefile("post/comment_1._comment", "t/tmp/in", $comment);