Skip to main content

Datetime widgets for Plone

Project description

Introduction

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 plone.app.jquerytools.

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

TODO

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

  • create DateDeltaWidget and DatetimeDeltaWidget

  • use timepicker

Changelog

1.0b4 (2013-04-24)

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

  • Enable plone.app.jquerytools’ 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.0b4.tar.gz (50.9 kB view details)

Uploaded Source

File details

Details for the file plone.formwidget.datetime-1.0b4.tar.gz.

File metadata

File hashes

Hashes for plone.formwidget.datetime-1.0b4.tar.gz
Algorithm Hash digest
SHA256 6563b1002200ea6244c94f830f82261b3c9957d35aeb1e729622ba07547694c6
MD5 ea4ff10acc1c4c7634cf23b4e33fee80
BLAKE2b-256 4f6c19d47b9559805252b4715c1ee930108f26fc0251626366c9c19b60a3e902

See more details on using hashes here.

Supported by

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