From 7a1e12675ec5f1ea605d4de06a0b82079073fb20 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 29 May 2006 05:09:43 +0000 Subject: * 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. --- doc/ikiwiki.setup | 2 ++ doc/todo/done/strftime.mdwn | 2 ++ doc/todo/strftime.mdwn | 2 -- doc/usage.mdwn | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 doc/todo/done/strftime.mdwn delete mode 100644 doc/todo/strftime.mdwn (limited to 'doc') 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/done/strftime.mdwn b/doc/todo/done/strftime.mdwn new file mode 100644 index 000000000..305f833be --- /dev/null +++ b/doc/todo/done/strftime.mdwn @@ -0,0 +1,2 @@ +There should be a --strftime switch that controls how all the dates are +formatted. diff --git a/doc/todo/strftime.mdwn b/doc/todo/strftime.mdwn deleted file mode 100644 index 305f833be..000000000 --- a/doc/todo/strftime.mdwn +++ /dev/null @@ -1,2 +0,0 @@ -There should be a --strftime switch that controls how all the dates are -formatted. 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. -- cgit v1.2.3