comparison 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
comparison
equal deleted inserted replaced
2005:fc52d57c6c3e 2007:55046bb7f789
1 =================== 1 ===================
2 Customising Roundup 2 Customising Roundup
3 =================== 3 ===================
4 4
5 :Version: $Revision: 1.111 $ 5 :Version: $Revision: 1.112 $
6 6
7 .. This document borrows from the ZopeBook section on ZPT. The original is at: 7 .. This document borrows from the ZopeBook section on ZPT. The original is at:
8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
9 9
10 .. contents:: 10 .. contents::
1585 now only on Date properties - return the current date as a new 1585 now only on Date properties - return the current date as a new
1586 property 1586 property
1587 reldate only on Date properties - render the interval between the date 1587 reldate only on Date properties - render the interval between the date
1588 and now 1588 and now
1589 local only on Date properties - return this date as a new property 1589 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.
1591 pretty only on Interval properties - render the interval in a pretty 1595 pretty only on Interval properties - render the interval in a pretty
1592 format (eg. "yesterday") 1596 format (eg. "yesterday")
1593 menu only on Link and Multilink properties - render a form select 1597 menu only on Link and Multilink properties - render a form select
1594 list for this property 1598 list for this property
1595 reverse only on Multilink properties - produce a list of the linked 1599 reverse only on Multilink properties - produce a list of the linked

Roundup Issue Tracker: http://roundup-tracker.org/