summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://alcopop.org/me/openid/ <http://alcopop.org/me/openid/@web>2008-11-29 09:06:04 -0500
committerJoey Hess <joey@kitenet.net>2008-11-29 09:06:04 -0500
commit13d938d3514e929f1c9c7d699908afb1123fd327 (patch)
tree34272fae48095afd45d2cf745ad0f156c92607c1
parent9986650ecf64820ab091ccfaf81faf2307ce19ee (diff)
behaviour of inline with meta-provided times
-rw-r--r--doc/bugs/inline_sort_order_and_meta_date_value.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/bugs/inline_sort_order_and_meta_date_value.mdwn b/doc/bugs/inline_sort_order_and_meta_date_value.mdwn
new file mode 100644
index 000000000..8aea8d0ac
--- /dev/null
+++ b/doc/bugs/inline_sort_order_and_meta_date_value.mdwn
@@ -0,0 +1,28 @@
+I have a directory containing two files. f1 has
+
+ meta date="2008-07-02 14:13:17"
+
+f2 has
+
+ meta date="2008-07-02 21:04:21"
+
+They have both been modified recently:
+
+ >>> stat(f1)
+ (33188, 459250L, 65027L, 1, 1000, 1000, 1686L, 1227967177, 1227966706, 1227966706)
+ >>> stat(f2)
+ (33188, 458868L, 65027L, 1, 1000, 1000, 938L, 1227967187, 1227966705, 1227966705)
+
+Note that f1 is fractionally newer than f2 in terms of ctime and mtime, but f2 is much newer in terms of the meta information.
+
+Another page includes them both via inline. The inclusion pagespec is not based on date, but on path (and the files are sorted into directories based on their dates)
+
+ inline pages="2008/07/*/*" show=5
+
+The resulting page is rendered with f1 above f2, seemingly not using the meta directive information. The italic-footer in the inline pages does use the correct time e.g. <em>Posted Wed 02 Jul 2008 14:13:17 BST</em>.
+
+If I instead include them using creation_year in the pagespec, they are ordered correctly.
+
+I'm working on importing a blosxom site into ikiwiki. I'll try and reproduce this online.
+
+-- [[JonDowland]]