From b23eeb5342d0913340325b5d96afe021d8472e9d Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 18 Mar 2004 22:47:00 +0000 Subject: [PATCH] doc fix git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2156 57a73879-2fb5-44c3-a270-3262357dd7e2 --- doc/customizing.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/customizing.txt b/doc/customizing.txt index e5170c3..1d1ac3c 100644 --- a/doc/customizing.txt +++ b/doc/customizing.txt @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.119 $ +:Version: $Revision: 1.120 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -1607,7 +1607,14 @@ local only on Date properties - return this date as a new property 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 +pretty Date properties - render the date as "dd Mon YYYY" (eg. "19 + Mar 2004"). Takes an optional format argument, for example:: + + python:context.activity.pretty('%Y-%m-%d') + + Will format as "2004-03-19" instead. + + Interval properties - render the interval in a pretty format (eg. "yesterday") menu only on Link and Multilink properties - render a form select list for this property -- 2.30.2