Mercurial > p > roundup > code
diff doc/customizing.txt @ 2007:55046bb7f789
tweaking
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 13 Feb 2004 01:12:31 +0000 |
| parents | a291bf753037 |
| children | 3594e5d2b411 |
line wrap: on
line diff
--- a/doc/customizing.txt Wed Feb 11 23:55:10 2004 +0000 +++ b/doc/customizing.txt Fri Feb 13 01:12:31 2004 +0000 @@ -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 @@ 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
