Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install horae.datetime

How to install horae.datetime

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install horae.datetime
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0a1 Available View build log
Windows (64-bit)
1.0a1 Available View build log
Mac OS X (10.5+)
1.0a1 Available View build log
Linux (32-bit)
1.0a1 Available View build log
Linux (64-bit)
1.0a1 Available View build log
Lastest release
version 1.0a1 on Jan 17th, 2012


horae.datetime provides zope.formlib input widgets for Date and Datetime fields of zope.schema. Both widgets use the datepicker widget of jQuery UI to select the date. The Datetime widget additionally provides two input fields to enter the hour and minute for the time. The hour and minute fields are enhanced by the Spinbox jQuery plugin.


The widgets may either be registered through ZCML as new default input widgets for Date and Datetime fields or by defining the widget as custom_widget on a zope.formlib form. Registration as default widget has to be done either in an overrides.zcml or the registrations have to be bound to a specific browser layer.

Registration using the overrides.zcml would look like this:

<configure xmlns='http://namespaces.zope.org/zope'>

<view type="zope.publisher.interfaces.browser.IBrowserRequest" for="zope.schema.interfaces.IDatetime" provides="zope.app.form.interfaces.IInputWidget" factory="horae.datetime.widget.DatetimeWidget" permission="zope.Public" />

<view type="zope.publisher.interfaces.browser.IBrowserRequest" for="zope.schema.interfaces.IDate" provides="zope.app.form.interfaces.IInputWidget" factory="horae.datetime.widget.DateWidget" permission="zope.Public" />



1.0a1 (2012-01-16)
  • Initial release

Subscribe to package updates

Last updated Jan 17th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.