summaryrefslogtreecommitdiff
path: root/doc/forum/ikiwiki__39__s_notion_of_time.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-20 16:34:49 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-20 16:34:49 -0400
commitee973d0b460044769328b30067d1d7ca24a5a228 (patch)
tree1b8e447cd3e3ce593743037cf2c27d78b524fa58 /doc/forum/ikiwiki__39__s_notion_of_time.mdwn
parenta2c0423e541006f5d1c0c99f4bb07aadfb0cc733 (diff)
parent1d9b58b0d4efe4ad4f752eeda7e52b263edaec87 (diff)
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/forum/ikiwiki__39__s_notion_of_time.mdwn')
-rw-r--r--doc/forum/ikiwiki__39__s_notion_of_time.mdwn24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/forum/ikiwiki__39__s_notion_of_time.mdwn b/doc/forum/ikiwiki__39__s_notion_of_time.mdwn
new file mode 100644
index 000000000..f52989026
--- /dev/null
+++ b/doc/forum/ikiwiki__39__s_notion_of_time.mdwn
@@ -0,0 +1,24 @@
+I'm having some difficulties with ikiwiki's notion of time.
+
+For (regular) pages, the *last edited* date is the one where the file
+was indeed last modified according to the file system information.
+The *created* date (commented out in the HTML) is, at least for
+`--getctime` operation, the date, where the file was last registered
+as changed with the VCS.
+
+Now, at least with git, the thing is that when you're checking out files,
+they'll get the checkout-time's current time stamp.
+
+What I strive for is the following: *created* be the date when the file
+(under its current name) was *first* registered with the VCS (which is
+more logical in my opinion), and *last edited* be the date the file was
+last registered as changed with the VCS, which is the current
+`--getctime` *created* date.
+
+This means that I can build the HTML files from different checkouts of the
+VCS and they won't differ in the time stamps they contain in the HTML.
+
+What is the rationale for ikiwiki's current behavior with respect to these
+time stamps?
+
+--[[tschwinge]]