A EDTF behavior for Plone.
Project description
collective.edtf_behavior
A Plone behavior which provides a EDTF Date field and some indexes to search and sort on complex and historic dates.
Note: the current implementation of the used library python-edtf , still uses an earlier draft of the standard: http://www.loc.gov/standards/datetime/pre-submission.html
Features
Allows unspecific dates or date intervals: “1989-11” or “1989-11~” or “1989-11-01/1989-11-30”
Seasons: 2001-21 >> Spring, 2001
old dates like 03.08.1492
Search indexes: date_earliest and date_latest
Sort indexes: date_sort_ascending and date_sort_descending
Installation
Install collective.edtf_behavior by adding it to your buildout:
[buildout] ... eggs = collective.edtf_behavior
and then running bin/buildout
After you activated the add-on in the Plone Add-ons section, you can Enable this behavior on any Dexterity based content type.
Contribute
Issue Tracker: https://github.com/collective/collective.edtf_behavior/issues
Source Code: https://github.com/collective/collective.edtf_behavior
Support
If you are having issues, please let us know. You can reach us on Gitter.
License
The project is licensed under the GPLv2.
Contributors
Maik Derstappen, md@derico.de
Changelog
1.0a2 (unreleased)
Nothing changed yet.
1.0a1 (2019-03-14)
Initial release, with EDTF behavior and 4 main indexes. [MrTango]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.edtf_behavior-1.0a2.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53bd0d0ae6d753daf09a3250caca6b8da4805fb05878eeb0bb1207c039d2c213 |
|
MD5 | 495c2195b534c5b25c5612f1c01ad2d0 |
|
BLAKE2b-256 | 4c28566eb9fa2a3b0eb5863c3f4ac08b3960a2ee2b1e7bec92ae36763eb4ce7d |