yafowil.widget.datetime


Nameyafowil.widget.datetime JSON
Version 1.13 PyPI version JSON
download
home_pagehttp://github.com/conestack/yafowil.widget.datetime
SummaryDatetime Widget for YAFOWIL
upload_time2022-10-06 07:56:15
maintainer
docs_urlNone
authorYafowil Contributors
requires_python
licenseSimplified BSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This is a **datetime widget** for for `YAFOWIL 
<http://pypi.python.org/pypi/yafowil>`_ 

It utilizes/integrates `jquery.ui.datepicker 
<http://docs.jquery.com/UI/Datepicker>`_ for/in YAFOWIL providing a 
datepicker function on a text input.

- `Documentation <http://docs.yafowil.info/en/latest/blueprints.html#datetime>`_
- `DEMO - see it Live <http://demo.yafowil.info/++widget++yafowil.widget.datetime/index.html>`_


Contributors
============

- Robert Niederrreiter

- Georg Bernhard


Changes
=======

1.13 (2022-10-06)
-----------------

- Add support for usage in ``yafowil.widget.array`` - remove date/timepicker
  related css classes ``hasDatepicker, hasTimepicker`` before initialize.
  [lenadax]

- Fix case time value is no tuple in ``time_value``.
  [lenadax]


1.12 (2020-07-09)
-----------------

- Add ``datetime.empty_display_value`` property.
  [rnix]

- Cast hour and minute values to int in ``time_value`` if ``format`` is
  ``tuple``.
  [rnix]

- Do not mask built-in ``format`` function in ``widget`` module.
  [rnix]


1.11 (2018-11-07)
-----------------

- Add ``yafowil.common.generic_emptyvalue_extractor`` to ``time`` and
  ``datetime`` blueprints.
  [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 dedicated ``timeinput_class`` and ``dateinput_class`` widget
  properties. Used for CSS styling. Styling was previously bound to
  ``datepicker_class`` and ``timepicker_class`` class, but these are skipped
  if no date and timepicker widgets should be displayed.
  [rnix, 2017-03-06]

- Change default ``datetime.delimiter`` to ``.``.
  [rnix, 2017-03-06]

- Change default ``datetime.format`` to ``%Y.%m.%d %H:%M``.
  [rnix, 2017-03-06]


1.8 (2017-03-01)
----------------

- Add dedicated CSS for ``plone5`` theme provided by ``yafowil.plone``.
  [rnix, 2016-06-28]

- Use ``yafowil.utils.entry_point`` decorator.
  [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 now ``yafowil`` >= 2.1
  [rnix, 2014-04-30]


1.5.2
-----

- Restrict timepicker binding to context
  [rnix, 2014-03-19]

1.5.1
-----

- Time blueprint example.
  [rnix, 2012-11-03]

1.5
---

- use ``yafowil.utils.attr_value`` wherever possible.
  [rnix, 2012-10-25]

- Add ``time`` blueprint.
  [rnix, 2012-10-23]

1.4
---

- Adopt resource providing
  [rnix, 2012-06-12]

- Add example widget
  [rnix, 2012-06-12]

1.3
---

- Sanitize formatting of date: iso always uses dash now, defaults to
  international iso format using dash.
  [jensens, 2012-05-09]

- property ``format`` can be callable now. Expect to returns formatted date.
  properties ``delimiter``, ``time``, ``tzinfo`` or ``locale`` can be callables
  too now. All callables taking ``widget, data`` as parameters.
  [jensens, 2012-05-09]

- Add documentation for ``datetime`` blueprint properties.
  [rnix, 2012-04-17]

- Add ``delimiter`` blueprint property.
  [rnix, 2012-04-17]

1.2
---

- Add ``render_datetime_input`` and ``render_datetime_display`` helper
  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 like ``generic_display_renderer``.
  [rnix, 2011-12-18]

- Add default css class to datetime blueprint.
  [rnix, 2011-12-18]

- Add datepicker binder function to ``yafowil.widget.array`` hooks if found.
  [rnix, 2011-10-05]

1.1
---

- Adopt to yafowil 1.2.
  [jensens, 2011-09-20]

- Make ready for z2c.autoinclude+Plone (only if available).
  [jensens, 2011-09-20]

1.0
---

- Add display renderer.
  [rnix, 2011-08-04]

- Adopt to yafowil 1.1.
  [rnix, 2011-07-08]

0.9.1
-----

- Test coverage.
  [rnix, 2011-05-07]

0.9
---

- Made it work.
  [rnix]


License
=======

Copyright (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.



            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/conestack/yafowil.widget.datetime",
    "name": "yafowil.widget.datetime",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Yafowil Contributors",
    "author_email": "dev@conestack.org",
    "download_url": "https://files.pythonhosted.org/packages/89/9f/dfac76bab5c85595e9183edff6ad02eb0b7e67f0d4bcec980a8d9c1c1900/yafowil.widget.datetime-1.13.tar.gz",
    "platform": null,
    "description": "This is a **datetime widget** for for `YAFOWIL \n<http://pypi.python.org/pypi/yafowil>`_ \n\nIt utilizes/integrates `jquery.ui.datepicker \n<http://docs.jquery.com/UI/Datepicker>`_ for/in YAFOWIL providing a \ndatepicker function on a text input.\n\n- `Documentation <http://docs.yafowil.info/en/latest/blueprints.html#datetime>`_\n- `DEMO - see it Live <http://demo.yafowil.info/++widget++yafowil.widget.datetime/index.html>`_\n\n\nContributors\n============\n\n- Robert Niederrreiter\n\n- Georg Bernhard\n\n\nChanges\n=======\n\n1.13 (2022-10-06)\n-----------------\n\n- Add support for usage in ``yafowil.widget.array`` - remove date/timepicker\n  related css classes ``hasDatepicker, hasTimepicker`` before initialize.\n  [lenadax]\n\n- Fix case time value is no tuple in ``time_value``.\n  [lenadax]\n\n\n1.12 (2020-07-09)\n-----------------\n\n- Add ``datetime.empty_display_value`` property.\n  [rnix]\n\n- Cast hour and minute values to int in ``time_value`` if ``format`` is\n  ``tuple``.\n  [rnix]\n\n- Do not mask built-in ``format`` function in ``widget`` module.\n  [rnix]\n\n\n1.11 (2018-11-07)\n-----------------\n\n- Add ``yafowil.common.generic_emptyvalue_extractor`` to ``time`` and\n  ``datetime`` blueprints.\n  [rnix]\n\n\n1.10 (2018-07-16)\n-----------------\n\n- Python 3 compatibility.\n  [rnix]\n\n- Convert doctests to unittests.\n  [rnix]\n\n\n1.9 (2017-03-10)\n----------------\n\n- Add dedicated Plone 5 related CSS.\n  [rnix, 2017-03-06]\n\n- Introduce dedicated ``timeinput_class`` and ``dateinput_class`` widget\n  properties. Used for CSS styling. Styling was previously bound to\n  ``datepicker_class`` and ``timepicker_class`` class, but these are skipped\n  if no date and timepicker widgets should be displayed.\n  [rnix, 2017-03-06]\n\n- Change default ``datetime.delimiter`` to ``.``.\n  [rnix, 2017-03-06]\n\n- Change default ``datetime.format`` to ``%Y.%m.%d %H:%M``.\n  [rnix, 2017-03-06]\n\n\n1.8 (2017-03-01)\n----------------\n\n- Add dedicated CSS for ``plone5`` theme provided by ``yafowil.plone``.\n  [rnix, 2016-06-28]\n\n- Use ``yafowil.utils.entry_point`` decorator.\n  [rnix, 2016-06-28]\n\n\n1.7.1 (2015-06-25)\n------------------\n\n- Resolve JSHint errors and warnings.\n  [thet]\n\n\n1.7 (2015-01-23)\n----------------\n\n- Remove calendar icon.\n  [rnix, 2014-07-29]\n\n- Update jquery UI datepicker to 1.10.3 and use latest jquery ui boostrap\n  styles.\n  [rnix, 2014-07-05]\n\n\n1.6 (2014-06-03)\n----------------\n\n- Add translations, package depends now ``yafowil`` >= 2.1\n  [rnix, 2014-04-30]\n\n\n1.5.2\n-----\n\n- Restrict timepicker binding to context\n  [rnix, 2014-03-19]\n\n1.5.1\n-----\n\n- Time blueprint example.\n  [rnix, 2012-11-03]\n\n1.5\n---\n\n- use ``yafowil.utils.attr_value`` wherever possible.\n  [rnix, 2012-10-25]\n\n- Add ``time`` blueprint.\n  [rnix, 2012-10-23]\n\n1.4\n---\n\n- Adopt resource providing\n  [rnix, 2012-06-12]\n\n- Add example widget\n  [rnix, 2012-06-12]\n\n1.3\n---\n\n- Sanitize formatting of date: iso always uses dash now, defaults to\n  international iso format using dash.\n  [jensens, 2012-05-09]\n\n- property ``format`` can be callable now. Expect to returns formatted date.\n  properties ``delimiter``, ``time``, ``tzinfo`` or ``locale`` can be callables\n  too now. All callables taking ``widget, data`` as parameters.\n  [jensens, 2012-05-09]\n\n- Add documentation for ``datetime`` blueprint properties.\n  [rnix, 2012-04-17]\n\n- Add ``delimiter`` blueprint property.\n  [rnix, 2012-04-17]\n\n1.2\n---\n\n- Add ``render_datetime_input`` and ``render_datetime_display`` helper\n  functions. Useful for custom widgets with different data preperation.\n  [rnix, 2012-03-06]\n\n- Modified to work with YAFOWIL 1.3\n  [agitator, 2012-02-19]\n\n- Extend display renderer to wrap value like ``generic_display_renderer``.\n  [rnix, 2011-12-18]\n\n- Add default css class to datetime blueprint.\n  [rnix, 2011-12-18]\n\n- Add datepicker binder function to ``yafowil.widget.array`` hooks if found.\n  [rnix, 2011-10-05]\n\n1.1\n---\n\n- Adopt to yafowil 1.2.\n  [jensens, 2011-09-20]\n\n- Make ready for z2c.autoinclude+Plone (only if available).\n  [jensens, 2011-09-20]\n\n1.0\n---\n\n- Add display renderer.\n  [rnix, 2011-08-04]\n\n- Adopt to yafowil 1.1.\n  [rnix, 2011-07-08]\n\n0.9.1\n-----\n\n- Test coverage.\n  [rnix, 2011-05-07]\n\n0.9\n---\n\n- Made it work.\n  [rnix]\n\n\nLicense\n=======\n\nCopyright (c) 2010-2021, BlueDynamics Alliance, Austria, Germany, Switzerland\nCopyright (c) 2021, Yafowil Contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice, this\n  list of conditions and the following disclaimer in the documentation and/or\n  other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n",
    "bugtrack_url": null,
    "license": "Simplified BSD",
    "summary": "Datetime Widget for YAFOWIL",
    "version": "1.13",
    "project_urls": {
        "Homepage": "http://github.com/conestack/yafowil.widget.datetime"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d971d348bd8bb3402479f7421849b29a162719e93c796458677b5c87fc469671",
                "md5": "e2bc7640694327bba9553a6ab2550e69",
                "sha256": "459f2e4e7e95f150eb8760d147019fc943dde4d3b1ce241277ab160948666318"
            },
            "downloads": -1,
            "filename": "yafowil.widget.datetime-1.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e2bc7640694327bba9553a6ab2550e69",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 73140,
            "upload_time": "2022-10-06T07:56:13",
            "upload_time_iso_8601": "2022-10-06T07:56:13.585518Z",
            "url": "https://files.pythonhosted.org/packages/d9/71/d348bd8bb3402479f7421849b29a162719e93c796458677b5c87fc469671/yafowil.widget.datetime-1.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "899fdfac76bab5c85595e9183edff6ad02eb0b7e67f0d4bcec980a8d9c1c1900",
                "md5": "102949f6ea354f8b3d0489a10601e2d9",
                "sha256": "cb6d92a5af9a0e463489e13c465ec9ea91e544e560f9fd6e8d343f5be4193688"
            },
            "downloads": -1,
            "filename": "yafowil.widget.datetime-1.13.tar.gz",
            "has_sig": false,
            "md5_digest": "102949f6ea354f8b3d0489a10601e2d9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 65641,
            "upload_time": "2022-10-06T07:56:15",
            "upload_time_iso_8601": "2022-10-06T07:56:15.439443Z",
            "url": "https://files.pythonhosted.org/packages/89/9f/dfac76bab5c85595e9183edff6ad02eb0b7e67f0d4bcec980a8d9c1c1900/yafowil.widget.datetime-1.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-10-06 07:56:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "conestack",
    "github_project": "yafowil.widget.datetime",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "yafowil.widget.datetime"
}
        
Elapsed time: 0.17485s