ikiwiki's notion of time
[ikiwiki] / doc / forum / ikiwiki__39__s_notion_of_time.mdwn
1 I'm having some difficulties with ikiwiki's notion of time.
2
3 For (regular) pages, the *last edited* date is the one where the file
4 was indeed last modified according to the file system information.
5 The *created* date (commented out in the HTML) is, at least for
6 `--getctime` operation, the date, where the file was last registered
7 as changed with the VCS.
8
9 Now, at least with git, the thing is that when you're checking out files,
10 they'll get the checkout-time's current time stamp.
11
12 What I strive for is the following: *created* be the date when the file
13 (under its current name) was *first* registered with the VCS (which is
14 more logical in my opinion), and *last edited* be the date the file was
15 last registered as changed with the VCS, which is the current
16 `--getctime` *created* date.
17
18 This means that I can build the HTML files from different checkouts of the
19 VCS and they won't differ in the time stamps they contain in the HTML.
20
21 What is the rationale for ikiwiki's current behavior with respect to these
22 time stamps?
23
24 --[[tschwinge]]