From: richard Date: Thu, 18 Mar 2004 22:47:00 +0000 (+0000) Subject: doc fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b23eeb5342d0913340325b5d96afe021d8472e9d;p=roundup.git doc fix git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2156 57a73879-2fb5-44c3-a270-3262357dd7e2 --- 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