From 4b38e1e2c41cce3a050670fe412de8eaa814e75d Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 13 Feb 2004 01:12:31 +0000 Subject: [PATCH] tweaking git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2075 57a73879-2fb5-44c3-a270-3262357dd7e2 --- doc/customizing.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/customizing.txt b/doc/customizing.txt index 827c3f7..3035e55 100644 --- a/doc/customizing.txt +++ b/doc/customizing.txt @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.111 $ +:Version: $Revision: 1.112 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -1587,7 +1587,11 @@ now only on Date properties - return the current date as a new reldate only on Date properties - render the interval between the date and now local only on Date properties - return this date as a new property - with some timezone offset + with some timezone offset, for example:: + + python:context.creation.local(10) + + will render the date with a +10 hour offset. pretty only on Interval properties - render the interval in a pretty format (eg. "yesterday") menu only on Link and Multilink properties - render a form select -- 2.30.2