comparison doc/customizing.txt @ 2088:90769be53b4b

doc fix
author Richard Jones <richard@users.sourceforge.net>
date Thu, 18 Mar 2004 22:47:00 +0000
parents 2a4309450202
children fd5459469069
comparison
equal deleted inserted replaced
2086:a6e3c54cfc6f 2088:90769be53b4b
1 =================== 1 ===================
2 Customising Roundup 2 Customising Roundup
3 =================== 3 ===================
4 4
5 :Version: $Revision: 1.119 $ 5 :Version: $Revision: 1.120 $
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::
1605 with some timezone offset, for example:: 1605 with some timezone offset, for example::
1606 1606
1607 python:context.creation.local(10) 1607 python:context.creation.local(10)
1608 1608
1609 will render the date with a +10 hour offset. 1609 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
1611 format (eg. "yesterday") 1618 format (eg. "yesterday")
1612 menu only on Link and Multilink properties - render a form select 1619 menu only on Link and Multilink properties - render a form select
1613 list for this property 1620 list for this property
1614 reverse only on Multilink properties - produce a list of the linked 1621 reverse only on Multilink properties - produce a list of the linked
1615 items in reverse order 1622 items in reverse order

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