File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 22Customising Roundup
33===================
44
5- :Version: $Revision: 1.119 $
5+ :Version: $Revision: 1.120 $
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
@@ -1607,7 +1607,14 @@ local only on Date properties - return this date as a new property
16071607 python:context.creation.local(10)
16081608
16091609 will render the date with a +10 hour offset.
1610- pretty only on Interval properties - render the interval in a pretty
1610+ pretty Date properties - render the date as "dd Mon YYYY" (eg. "19
1611+ Mar 2004"). Takes an optional format argument, for example::
1612+
1613+ python:context.activity.pretty('%Y-%m-%d')
1614+
1615+ Will format as "2004-03-19" instead.
1616+
1617+ Interval properties - render the interval in a pretty
16111618 format (eg. "yesterday")
16121619menu only on Link and Multilink properties - render a form select
16131620 list for this property
You can’t perform that action at this time.
0 commit comments