summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-29 05:09:43 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-29 05:09:43 +0000
commit7a1e12675ec5f1ea605d4de06a0b82079073fb20 (patch)
treee7389f14c03af4a0b4e70cda4b84cc6216144393 /doc
parent890257521ebb39dea0630143e60594d577128f1c (diff)
* Add --timeformat config option to allow changing how dates are displayed.
Note that as a side effect, dates will now be displayed using the local timezone, not as GMT.
Diffstat (limited to 'doc')
-rw-r--r--doc/ikiwiki.setup2
-rw-r--r--doc/todo/done/strftime.mdwn (renamed from doc/todo/strftime.mdwn)0
-rw-r--r--doc/usage.mdwn5
3 files changed, 7 insertions, 0 deletions
diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup
index dee4ca1d5..cda524ae1 100644
--- a/doc/ikiwiki.setup
+++ b/doc/ikiwiki.setup
@@ -50,6 +50,8 @@ use IkiWiki::Setup::Standard {
rss => 1,
# Include discussion links on all pages?
discussion => 1,
+ # Time format (for strftime)
+ #timeformat => '%c',
# To change the enabled plugins, edit this list
#plugin => [qw{pagecount inline brokenlinks search smiley
# htmlscrubber}],
diff --git a/doc/todo/strftime.mdwn b/doc/todo/done/strftime.mdwn
index 305f833be..305f833be 100644
--- a/doc/todo/strftime.mdwn
+++ b/doc/todo/done/strftime.mdwn
diff --git a/doc/usage.mdwn b/doc/usage.mdwn
index c0fab5232..011cf53a2 100644
--- a/doc/usage.mdwn
+++ b/doc/usage.mdwn
@@ -177,6 +177,11 @@ These options configure the wiki.
Enables or disables "Discussion" links from being added to the header of
every page. The links are enabled by default.
+* --timeformat format
+
+ Specify how to display the time or date. The format string is passed to the
+ strftime(3) function.
+
* --verbose
Be vebose about what is being done.