Skip to content

Commit 3243062

Browse files
author
Richard Jones
committed
tweaking
1 parent 84803c3 commit 3243062

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.111 $
5+
:Version: $Revision: 1.112 $
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
@@ -1587,7 +1587,11 @@ now only on Date properties - return the current date as a new
15871587
reldate only on Date properties - render the interval between the date
15881588
and now
15891589
local only on Date properties - return this date as a new property
1590-
with some timezone offset
1590+
with some timezone offset, for example::
1591+
1592+
python:context.creation.local(10)
1593+
1594+
will render the date with a +10 hour offset.
15911595
pretty only on Interval properties - render the interval in a pretty
15921596
format (eg. "yesterday")
15931597
menu only on Link and Multilink properties - render a form select

0 commit comments

Comments
 (0)