Overview

Interval field gives you a simple field and widget to allow users to enter interval values eg

  • 2 months
  • 3 days
  • 4 years

Features

The field comes pre-bundled with one simple formatter and day, week, fortnight, month, quarter and year interval periods.
The available periods can be easily extended by other modules (see interval.api.php for info).

Requirements

  • Core field module (obviously)
  • Date API (submodule of date).

Known problems

The field has not been tested in a multi-value setup - see #1328036: Test and verify support for multi-value field.

Road Map

At present the module only has a basic formatter but the api is there to support more flexible displays such as relative to the current date/time or an arbitrary date.

Credits

Module by larowlan of Rowlands Group.

Sponsored by Choc-Chip Media.

News

I did a session on fields, widgets and formatters at Drupal downunder 2012 - during which I discussed how this module works as an example of the field api. If you're interested you can view the presentation.

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0-rc1 tar.gz (10.87 KB) | zip (12.89 KB) 2012-Jul-10 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (11.19 KB) | zip (13.24 KB) 2013-Mar-13 Notes

Project Information


Maintainers for Interval Field

  • pcambra - 1 commit
    last: 9 weeks ago, first: 9 weeks ago
  • larowlan - 9 commits
    last: 1 year ago, first: 1 year ago

Issues for Interval Field

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here