Package: yafowil.widget.datetime
This is adatetime widgetfor forYAFOWILIt utilizes/integratesjquery.ui.datepickerfor/in YAFOWIL providing a
datepicker function on a text input.DocumentationDEMO - see it LiveContributorsRobert NiederrreiterGeorg BernhardChanges1.13 (2022-10-06)Add support for usage inyafowil.widget.array- remove date/timepicker
related css classeshasDatepicker, hasTimepickerbefore initialize.
[lenadax]Fix case time value is no tuple intime_value.
[lenadax]1.12 (2020-07-09)Adddatetime.empty_display_valueproperty.
[rnix]Cast hour and minute values to int intime_valueifformatistuple.
[rnix]Do not mask built-informatfunction inwidgetmodule.
[rnix]1.11 (2018-11-07)Addyafowil.common.generic_emptyvalue_extractortotimeanddatetimeblueprints.
[rnix]1.10 (2018-07-16)Python 3 compatibility.
[rnix]Convert doctests to unittests.
[rnix]1.9 (2017-03-10)Add dedicated Plone 5 related CSS.
[rnix, 2017-03-06]Introduce dedicatedtimeinput_classanddateinput_classwidget
properties. Used for CSS styling. Styling was previously bound todatepicker_classandtimepicker_classclass, but these are skipped
if no date and timepicker widgets should be displayed.
[rnix, 2017-03-06]Change defaultdatetime.delimiterto..
[rnix, 2017-03-06]Change defaultdatetime.formatto%Y.%m.%d%H:%M.
[rnix, 2017-03-06]1.8 (2017-03-01)Add dedicated CSS forplone5theme provided byyafowil.plone.
[rnix, 2016-06-28]Useyafowil.utils.entry_pointdecorator.
[rnix, 2016-06-28]1.7.1 (2015-06-25)Resolve JSHint errors and warnings.
[thet]1.7 (2015-01-23)Remove calendar icon.
[rnix, 2014-07-29]Update jquery UI datepicker to 1.10.3 and use latest jquery ui boostrap
styles.
[rnix, 2014-07-05]1.6 (2014-06-03)Add translations, package depends nowyafowil>= 2.1
[rnix, 2014-04-30]1.5.2Restrict timepicker binding to context
[rnix, 2014-03-19]1.5.1Time blueprint example.
[rnix, 2012-11-03]1.5useyafowil.utils.attr_valuewherever possible.
[rnix, 2012-10-25]Addtimeblueprint.
[rnix, 2012-10-23]1.4Adopt resource providing
[rnix, 2012-06-12]Add example widget
[rnix, 2012-06-12]1.3Sanitize formatting of date: iso always uses dash now, defaults to
international iso format using dash.
[jensens, 2012-05-09]propertyformatcan be callable now. Expect to returns formatted date.
propertiesdelimiter,time,tzinfoorlocalecan be callables
too now. All callables takingwidget, dataas parameters.
[jensens, 2012-05-09]Add documentation fordatetimeblueprint properties.
[rnix, 2012-04-17]Adddelimiterblueprint property.
[rnix, 2012-04-17]1.2Addrender_datetime_inputandrender_datetime_displayhelper
functions. Useful for custom widgets with different data preperation.
[rnix, 2012-03-06]Modified to work with YAFOWIL 1.3
[agitator, 2012-02-19]Extend display renderer to wrap value likegeneric_display_renderer.
[rnix, 2011-12-18]Add default css class to datetime blueprint.
[rnix, 2011-12-18]Add datepicker binder function toyafowil.widget.arrayhooks if found.
[rnix, 2011-10-05]1.1Adopt to yafowil 1.2.
[jensens, 2011-09-20]Make ready for z2c.autoinclude+Plone (only if available).
[jensens, 2011-09-20]1.0Add display renderer.
[rnix, 2011-08-04]Adopt to yafowil 1.1.
[rnix, 2011-07-08]0.9.1Test coverage.
[rnix, 2011-05-07]0.9Made it work.
[rnix]LicenseCopyright (c) 2010-2021, BlueDynamics Alliance, Austria, Germany, Switzerland
Copyright (c) 2021, Yafowil Contributors
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.