Skip to content

Commit c624860

Browse files
author
Richard Jones
committed
doc tweaking
1 parent 98a9a13 commit c624860

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/customizing.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.93.2.5 $
5+
:Version: $Revision: 1.93.2.6 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -1571,7 +1571,11 @@ now only on Date properties - return the current date as a new
15711571
reldate only on Date properties - render the interval between the date
15721572
and now
15731573
local only on Date properties - return this date as a new property
1574-
with some timezone offset
1574+
with some timezone offset, for example::
1575+
1576+
python:context.creation.local(10)
1577+
1578+
will render the date with a +10 hour offset.
15751579
pretty only on Interval properties - render the interval in a pretty
15761580
format (eg. "yesterday")
15771581
menu only on Link and Multilink properties - render a form select

0 commit comments

Comments
 (0)