Skip to main content

Datetime widgets for Plone

Project description


The package plone.formwidget.datetime provides date and time widgets for plone to be used with z3c.form and Archetypes. The calendar widget is based on JQueryTools Dateinput, provided by

The package is a merge of collective.z3cform.datetimewidget and archetypes.datetimewidget (which itself was derived from collective.z3cform.datetimewidget).


  • Include popup_calendar.gif as browser-resource in this package.

  • create DateDeltaWidget and DatetimeDeltaWidget

  • use timepicker

  • Usage docs for AT and DX. Show z3c.form widget parameters via plone.autoform > 1.4


1.3.5 (2019-08-29)

Bug fixes:

  • Tuple (‘’, ‘’, ‘’, ‘00’, ‘00’) is also an empty value. Fix #22 [batlock666]

1.3.4 (2018-04-08)

Bug fixes:

  • Use the field min and max values to determine the years range [mpeeters]

1.3.3 (2018-02-14)

Bug fixes:

  • Required datetime fields should have no values preselected. Fix #11 [mamico]

1.3.2 (2018-01-17)

Bug fixes:

  • Please pyScss by adding quotes in the urls. Makes it compatible with Plone 5.1. [thomasdesvenain]

1.3.1 (2016-08-09)


  • Marked in as also compatible with Plone 4.3, next to 5.0. [maurits]

  • Use zope.interface decorator. [gforcada]

1.3 (2016-02-11)


  • Translations moved to in plone domain. [staeff]

1.2 (2015-10-28)


1.1 (2014-11-06)

  • Simplify buildout infrastructure to be used only for test running on latest Plone 4.3. [thet]

  • Don’t hide the timecomponents of input fields, when context has whole_day set. In context of, this is done via JavaScript by itself. Fixes: [thet]

  • Set date in calendar when the page load (Archetypes widget). [vincentfretin]

  • Calendar is updated when date is changed from select. [thomasdesvenain]

1.0 (2013-11-06)

  • Align CSS classes between AT and z3cform templates. [thet]

  • Allow empty values when the field is not required. [pbauer]

  • Replace deprecated test assert statements. [timo]

  • Re-Add rendering of hidden date-, month- and year-fields for monthyear and year widgets. This got lost at template unifying attempt. [thet]

  • In z3c.form based widgets, allow timezone naive datetime conversion. [thet]

  • If plone.schemaeditor is available, use his patched IDate schema. [do3cc]

1.0b6 (2013-07-21)

  • Fix javascript error in IE7/IE8 on Windows XP -> “Unable to modify the parent container element before the child element is closed” [href]

  • Remove the ParameterizedWidgetFactory in favor of form schema hints for widget parameters which is available since plone.autoform 1.4. [thet]

  • For the z3cform widget, remove widget adaptee registration from ZCML code and keep it in Python code. More appropriate z3c.form class hierarchy for the widget. Cleanup. [thet]

  • Add autoinclude entry point. [thet]

1.0b5 (2013-05-27)

  • Remove’ custom.css again, as it is gone. [thet]

  • Unify AT and DX templates. [thet]

  • Fix issue when value has no timezone-information. This happened when using and Solgema.fullcalendar [pbauer]

1.0b4 (2013-04-24)

  • Don’t show plone.formwidget.datetime:default profile when creating a Plone site with @@plone-addsite. [thet]

  • Enable’ custom.css for datepicker style overrides and enable next/prev icons this way. [thet]

1.0b3 (2013-02-08)

  • Allow configuration of the first day of the week (first_day). [thet]

1.0b2 (2012-10-29)

  • Fixed missing ‘00’ in hour/minute in AT and z3cform for 0 values. Fixes #5. [thet]

  • CSS fixes to display the calendar icon properly. [thet]

1.0b1 (2012-10-12)

  • Include popup_calendar.gif and register a plone.formwidget.datetime style in the CSS registry. [thet]

  • Changes related to “Archetypes widget now reliably returns DateTime instances instead datetime.”

    • support for only year widget [kiorky]

    • Fix support for older years inside AT widgets [kiorky]

    • Add lot of tests for year ranges & old years [kiorky]

    • Fix the Year and Month/Years widgets [kiorky]

  • Archetypes widget now reliably returns DateTime instances instead datetime. [thet]

  • AM/PM 12-hour time fixes: 12 a.m. == u’00’ hour internally, displayed consistently; normalization of times gracefully handles missing hour values; deal gracefully with 12 p.m. and 12 a.m. hours. [seanupton]

  • Fixed a bug with the datepicker configuration when the week starts on a different day than Sunday. [dokai]

  • Added a wrapper element around the time components in the z3c.form datetime widget markup to faciliate Javascript (and CSS) control. [dokai]

  • Fixed a bug where the minutes were ignored and set unconditionally to zero when the field values were extracted. [dokai]

  • Fixed a problem with zero valued time components being ignored. [dokai]

  • Fixed a problem with the weekdays being off by one [href]

  • fix all tests [kiorky]

  • dynamic years range support [kiorky]

  • support for very old years ( <1800 ) [kiorky]

  • support for custom date patterns in view mode [kiorky]

1.0a2 (2012-03-12)

  • Include z3c.form’s meta.zcml, so widgetsTemplate directive is registered. [thet]

  • For conditional zcml incudes, use zcml:condition instead of zcml:provides. [thet]

  • Code cleanup. [thet]

1.0a1 (2012-02-24)

  • Initial alpha (!) release from the Plone Konferenz 2012 in Munich. [thet]

This package derived from collective.z3cform.datetimewidget. For older release History, see there.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plone.formwidget.datetime-1.3.5.tar.gz (49.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page