comparison doc/customizing.txt @ 2087:8e960088b44c maint-0.6

doc fix
author Richard Jones <richard@users.sourceforge.net>
date Thu, 18 Mar 2004 22:47:00 +0000
parents 9e72663e5671
children
comparison
equal deleted inserted replaced
2085:6e1e717a9caa 2087:8e960088b44c
1 =================== 1 ===================
2 Customising Roundup 2 Customising Roundup
3 =================== 3 ===================
4 4
5 :Version: $Revision: 1.93.2.8 $ 5 :Version: $Revision: 1.93.2.9 $
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::
1587 with some timezone offset, for example:: 1587 with some timezone offset, for example::
1588 1588
1589 python:context.creation.local(10) 1589 python:context.creation.local(10)
1590 1590
1591 will render the date with a +10 hour offset. 1591 will render the date with a +10 hour offset.
1592 pretty only on Interval properties - render the interval in a pretty 1592 pretty Date properties - render the date as "dd Mon YYYY" (eg. "19
1593 Mar 2004"). Takes an optional format argument, for example::
1594
1595 python:context.activity.pretty('%Y-%m-%d')
1596
1597 Will format as "2004-03-19" instead.
1598
1599 Interval properties - render the interval in a pretty
1593 format (eg. "yesterday") 1600 format (eg. "yesterday")
1594 menu only on Link and Multilink properties - render a form select 1601 menu only on Link and Multilink properties - render a form select
1595 list for this property 1602 list for this property
1596 reverse only on Multilink properties - produce a list of the linked 1603 reverse only on Multilink properties - produce a list of the linked
1597 items in reverse order 1604 items in reverse order

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