[Zope-dev] ANN: mxDateTime 0.1
Juan David Ibáñez Palomar
palomar@sg.uji.es
Sat, 31 Mar 2001 11:20:53 +0200 (METDST)
Hi all,
Download mxDateTime 0.1 from
http://sourceforge.net/projects/lleu
README.txt
----------
Introduction
This product makes easier to use the mxDateTime python module
from Zope. It allows to use it from Python Products and external
methods using for example::
from Products.mxDateTime import DateTime
It's also accessible from restricted code (DTML methods, Scripts,
etc..) using the '_' variable, for example::
<dtml-var "_.mxDateTime.today()">
How it works (read this if youd don't use a Unix like OS!!)
When the product is initialized for the first time a symlink is
created to the DateTime directory. If symlinks are not available
(for example in Windows) you have to copy the whole DateTime
directory instead.
To make the module accessible from restricted code it has been
needed to wrap it so it plays nice with the Zope security machinery.
Best regards,
jdavid