Fix comments testsuite to not rely on Date::Parse's ability to parse the date Columbu...
authorJoey Hess <joey@kitenet.net>
Mon, 5 Sep 2011 17:15:59 +0000 (13:15 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 5 Sep 2011 17:17:36 +0000 (13:17 -0400)
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.

debian/changelog
t/comments.t

index 06f07b2171541f8d6c3d7af2db9c2c2e7fcfd80f..9444de7cbc238c17c433b5d0f1f194daf7a66360 100644 (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
 
index 4721d7a9cb130727868ed8f49aefd6dd81c45d70..da2148b6b8f8cc5a3a92db07420397971ae1fe84 100755 (executable)
@@ -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);