Skip to main content

A EDTF behavior for Plone.

Project description

https://secure.travis-ci.org/collective/collective.edtf_behavior.png?branch=master Coveralls License Join the chat at https://gitter.im/collective/collective.edtf_behavior

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

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

Changelog

1.0a2 (unreleased)

  • Nothing changed yet.

1.0a1 (2019-03-14)

  • Initial release, with EDTF behavior and 4 main indexes. [MrTango]

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

collective.edtf_behavior-1.0a2.dev0.tar.gz (14.5 kB view details)

Uploaded Source

File details

Details for the file collective.edtf_behavior-1.0a2.dev0.tar.gz.

File metadata

  • Download URL: collective.edtf_behavior-1.0a2.dev0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.20.0 CPython/2.7.16rc1

File hashes

Hashes for collective.edtf_behavior-1.0a2.dev0.tar.gz
Algorithm Hash digest
SHA256 53bd0d0ae6d753daf09a3250caca6b8da4805fb05878eeb0bb1207c039d2c213
MD5 495c2195b534c5b25c5612f1c01ad2d0
BLAKE2b-256 4c28566eb9fa2a3b0eb5863c3f4ac08b3960a2ee2b1e7bec92ae36763eb4ce7d

See more details on using hashes here.

Supported by

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