summaryrefslogtreecommitdiff
path: root/docs/source/configuration/index.rst
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-03-31 16:29:10 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-03-31 16:29:10 +0100
commite80f3e45495500b41568cff08e1a4589f4f19aac (patch)
tree918cb4f80ee95add300bdd482b90d89abf91de09 /docs/source/configuration/index.rst
parent32e2d2eb9289f14907d1a4e9b239f52a9e2bbf36 (diff)
doc: timestamp_format hook
Diffstat (limited to 'docs/source/configuration/index.rst')
-rw-r--r--docs/source/configuration/index.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/source/configuration/index.rst b/docs/source/configuration/index.rst
index f7f3b59b..2620cb05 100644
--- a/docs/source/configuration/index.rst
+++ b/docs/source/configuration/index.rst
@@ -223,6 +223,13 @@ Apart from command pre- and posthooks, the following hooks will be interpreted:
:type bodytext: str
:rtype: str
+.. py:function:: timestamp_format(timestamp)
+
+ represents given timestamp as string
+
+ :param bodytext: timestamp to represent
+ :type timestamp: `datetime`
+ :rtype: str
Themes
======