summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc93029)
raw | patch | inline | side by side (parent: dc93029)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 18 Mar 2004 22:47:00 +0000 (22:47 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 18 Mar 2004 22:47:00 +0000 (22:47 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2156 57a73879-2fb5-44c3-a270-3262357dd7e2
doc/customizing.txt | patch | blob | history |
diff --git a/doc/customizing.txt b/doc/customizing.txt
index e5170c32c13e25001b8a4490a8ee0546b08a2c01..1d1ac3cd29a7fa055ef6b7f678714a37b9879927 100644 (file)
--- a/doc/customizing.txt
+++ b/doc/customizing.txt
Customising Roundup
===================
-:Version: $Revision: 1.119 $
+:Version: $Revision: 1.120 $
.. This document borrows from the ZopeBook section on ZPT. The original is at:
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
python:context.creation.local(10)
will render the date with a +10 hour offset.
-pretty only on Interval properties - render the interval in a pretty
+pretty Date properties - render the date as "dd Mon YYYY" (eg. "19
+ Mar 2004"). Takes an optional format argument, for example::
+
+ python:context.activity.pretty('%Y-%m-%d')
+
+ Will format as "2004-03-19" instead.
+
+ Interval properties - render the interval in a pretty
format (eg. "yesterday")
menu only on Link and Multilink properties - render a form select
list for this property