{ "info": { "author": "Matthew Somerville", "author_email": "matthew-pypi@dracos.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Database", "Topic :: Internet :: WWW/HTTP" ], "description": "django-date-extensions\nby Matthew Somerville\n\nThis code adds a few small extensions to Django's DateField, to handle both\napproximate dates (e.g. \"March 1963\") and default year dates (e.g. assume\n\"24th June\" is the most recent such).\n\nexample contains a hopefully self-contained Django project that simply shows\noff a form with these methods of entry.\n\nApproximate dates\n=================\n\nA new object, ApproximateDate, is used to represent dates that might not have a\nmonth or a day. ApproximateDateField is the model field used to represent these\nobjects in a Model, and ApproximateDateFormField is the field used in a Django\nform. Everything should work seamlessly simply by specifying a model field as\nApproximateDateField rather than DateField.\n\nDefault year dates\n==================\n\nPrettyDateField is a form field to be used on DateField model fields. It takes\none argument, future, which is a nullable boolean. If True, a date input that\nis missing a year will be taken to be the next possible occurrence of that date\n- e.g. on 24th November 2009, entering 24th December will be taken to be\n2009-12-24, whilst entering 3rd March will be taken to be 2010-03-03. If future\nis False, the reverse occurs, with year-less dates being assumed to be the\nclosest occurrence of that date in the past.\n\nIf future is not set, then PrettyDateField acts the same as a DateField, only\nallows suffixes on ordinals, and assumes D/M/Y rather than M/D/Y. \n\nTesting\n=======\nRun 'tox' with tox installed.\n\nTodo\n====\n\nImprove date parsing to take more inputs like my traintimes.org.uk PHP, such as\n\"next Friday\".\n\n\nAny queries or comments, do get in touch. Something's probably broken, as I tried\nto tidy up the code a little for public release :)\n\nMatthew Somerville.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dracos/django-date-extensions", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-date-extensions", "package_url": "https://pypi.org/project/django-date-extensions/", "platform": "", "project_url": "https://pypi.org/project/django-date-extensions/", "project_urls": { "Homepage": "https://github.com/dracos/django-date-extensions" }, "release_url": "https://pypi.org/project/django-date-extensions/3.0/", "requires_dist": null, "requires_python": "", "summary": "This code adds a few small extensions to Django's DateField, to handle both approximate dates (e.g. 'March 1963') and default year dates (e.g. assume '24th June' is the most recent such).", "version": "3.0" }, "last_serial": 5130700, "releases": { "0.1dev": [ { "comment_text": "", "digests": { "md5": "9f2fb1c72206b7d9d86ea9d0ef9405b9", "sha256": "5b9c16c17ed19422415a0b6a9753f1fbd33661daa8b7742002d58bd8868726d9" }, "downloads": -1, "filename": "django_date_extensions-0.1dev.tar.gz", "has_sig": false, "md5_digest": "9f2fb1c72206b7d9d86ea9d0ef9405b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5314, "upload_time": "2013-04-12T08:51:10", "url": "https://files.pythonhosted.org/packages/27/7e/644d7e61da5a8ff427778b60b7e6977fc79d2506728899a87caec6e0ae1d/django_date_extensions-0.1dev.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "8d5745c5fa90c95f055ac05a60a01e25", "sha256": "15971dee719aa5ddf21e24a84637e5cfae1a13e9e49705cd70c600daf8860412" }, "downloads": -1, "filename": "django_date_extensions-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8d5745c5fa90c95f055ac05a60a01e25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5418, "upload_time": "2014-07-24T22:20:28", "url": "https://files.pythonhosted.org/packages/f8/09/981a890de12a7a2a96681ea321bf3736dac0d9e7625d1a3d6511cbadbeae/django_date_extensions-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "2c4bdc2f58c4cc51e04f1d5a8da3564a", "sha256": "f6dbd84fd2977be6b959bbc62712197e6d7ce9eaab76e4ef7ae0c10605d1d31e" }, "downloads": -1, "filename": "django_date_extensions-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2c4bdc2f58c4cc51e04f1d5a8da3564a", "packagetype": "bdist_wheel", "python_version": "3.3", "requires_python": null, "size": 9179, "upload_time": "2015-06-04T17:20:30", "url": "https://files.pythonhosted.org/packages/45/8c/a5ccca0dc655a10723d712814ce46c2cd34a8df5b0359ad65ec7a61df5e5/django_date_extensions-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eca9aec60189637756cecc5cd2eaf223", "sha256": "db38482c089e1844a8a8ecdf63a4e05bbc224cdfd719fc7a7e1cddf0623f962e" }, "downloads": -1, "filename": "django_date_extensions-1.1.0.tar.gz", "has_sig": false, "md5_digest": "eca9aec60189637756cecc5cd2eaf223", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5850, "upload_time": "2015-06-04T17:20:25", "url": "https://files.pythonhosted.org/packages/45/ef/42b7cbf8c1aab77365133953ad4872278fe15fd8cf4ce1c6ea676205d569/django_date_extensions-1.1.0.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "819c575a59567f1d935665d450d7931c", "sha256": "441d7cff3aaa8051b5a055da2fc064e976d2bb305fd0f8e02e846f589e54afb2" }, "downloads": -1, "filename": "django_date_extensions-2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "819c575a59567f1d935665d450d7931c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9490, "upload_time": "2016-10-08T20:57:49", "url": "https://files.pythonhosted.org/packages/34/49/dddf5564fe5bdd26b054cc7b9f731bec955049c6656c3e23e251fe73259c/django_date_extensions-2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a67a8845b2081de1e1f2f29ff1af5658", "sha256": "eb915bc98024d3f59207fe4cac104e15cc95b2ed2fbb01421e901f8a42059b8c" }, "downloads": -1, "filename": "django_date_extensions-2.0.tar.gz", "has_sig": false, "md5_digest": "a67a8845b2081de1e1f2f29ff1af5658", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6100, "upload_time": "2016-10-08T20:57:46", "url": "https://files.pythonhosted.org/packages/4f/9c/28f0be0467ee03d1b008cb53ce5dd7c30bed8af3916f0f38d0b8070970c6/django_date_extensions-2.0.tar.gz" } ], "3.0": [ { "comment_text": "", "digests": { "md5": "d16fd52ed0ae1fcf6e30f63ecff86d58", "sha256": "0b03fcf8038956bee3d819a3ac7ab72c6512590af0ef87c0202c6a3cc6e88025" }, "downloads": -1, "filename": "django_date_extensions-3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d16fd52ed0ae1fcf6e30f63ecff86d58", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20409, "upload_time": "2019-04-11T19:51:44", "url": "https://files.pythonhosted.org/packages/b6/5e/bf756e061168004d1dac59d36dbfdeb9998b2bf8016cb0c853457f799a89/django_date_extensions-3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bca55d69cbed28af8f9c933d452a827d", "sha256": "10d7503544f215dad1d036d13407657d56885e96a43127b7581ecb9e61f85140" }, "downloads": -1, "filename": "django_date_extensions-3.0.tar.gz", "has_sig": false, "md5_digest": "bca55d69cbed28af8f9c933d452a827d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6343, "upload_time": "2019-04-11T19:51:45", "url": "https://files.pythonhosted.org/packages/d2/91/c585eb66cbb453dc454bf3adbafe4338b98002878ee82a4faea520c472dc/django_date_extensions-3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d16fd52ed0ae1fcf6e30f63ecff86d58", "sha256": "0b03fcf8038956bee3d819a3ac7ab72c6512590af0ef87c0202c6a3cc6e88025" }, "downloads": -1, "filename": "django_date_extensions-3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d16fd52ed0ae1fcf6e30f63ecff86d58", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20409, "upload_time": "2019-04-11T19:51:44", "url": "https://files.pythonhosted.org/packages/b6/5e/bf756e061168004d1dac59d36dbfdeb9998b2bf8016cb0c853457f799a89/django_date_extensions-3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bca55d69cbed28af8f9c933d452a827d", "sha256": "10d7503544f215dad1d036d13407657d56885e96a43127b7581ecb9e61f85140" }, "downloads": -1, "filename": "django_date_extensions-3.0.tar.gz", "has_sig": false, "md5_digest": "bca55d69cbed28af8f9c933d452a827d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6343, "upload_time": "2019-04-11T19:51:45", "url": "https://files.pythonhosted.org/packages/d2/91/c585eb66cbb453dc454bf3adbafe4338b98002878ee82a4faea520c472dc/django_date_extensions-3.0.tar.gz" } ] }