Date Popup module

This package contains both a flexible date/time field type Date field and a Date API that other modules can use.

The D5 and D6 versions of the Date field require the Content Construction Kit (CCK) module. The D7 version works with the core Field functionality.

Videos/Tutorials

View a free video on Date and Calendar by Karen Stevenson from Drupalize.me.

Important Information

Lots of the Calendar functionality comes from the Date module, so any time you update the Calendar module you should be sure you also update to the latest version of the Date module at the same time.

Date 6.2 now requires the jQuery UI module (http://drupal.org/project/jquery_ui) for the Date Popups datepicker to work!

PHP 4, 5.0, & 5.1 are no longer actively supported. If you want dates to work correctly you need to use PHP 5.2 or higher.

Be sure to read Debugging Information before reporting a problem. Going through those steps may resolve your problems and will help provide enough information to tell if this is a bug.

If you have a multi-lingual or non-English site, you need to be sure you have the right language available and that you have the Date translations on your site (try http://drupal.org/project/l10n_update for keeping them current). You may also want to look into http://drupal.org/project/l10n_client for fixing/modifying translations. Translations are handled separately from the module code, usually there is nothing the Date module can do about them directly.

D7 Notes

Note that the latest code includes two new modules, Date Repeat Field, a module to create date fields that use the Date Repeat API, and Date All Day, a module to manage handling of All Day values, including adding an All day checkbox to the widget. Both of those were formerly included in the basic Date module but have been pulled out to streamline the code and make it possible to disable them. They also serve as examples of how other modules can intervene to alter date processing.

I'm incorporating new functionality created by David Goode in a Google Summer of Code project. He added a new DateObject that handles much of the date manipulation as an extension of the PHP Date object. The D7 version now requires PHP 5.2+, so all the old crufty workarounds for PHP 4 and PHP 5.1 are gone (and good riddance!). Since we don't need to support the layer of PHP 4 workarounds, we can take full advantage of PHP 5.2 date objects.

I've added preliminary support for SQLLite and SQLServer. This is experimental and probably not stable. People who use those databases will need to help debug issues before they can really be considered supported.

Token support is not working in D7. See http://drupal.org/node/1103032 (read the issue summary at the top of that issue).

If you are using the Date Popup module on a localized site, you won't see translated values for the month names. If you want to see the translated options in the datepicker, you need the core patch at http://drupal.org/node/507502#comment-4534106. It has to be fixed in D8 and then they'll go back and fix D7, so in the meantime you will need that patch.

Related Modules

This is the beginning of a list of modules that extend Date to solve particular problems. Please check them out if the core Date functionality isn't sufficient for your needs.

Calendar
This module will display either Date field or system dates in a calendar.
Partial Date
This module tries to solve the problem of 'Fuzzy dates' -- dates where you don't know ahead of time if all values of the date will be provided. It also attempts to provide a solution for BC dates.
Signup
This module provides a system to allow users to sign up for a node that has a date field, including administrative reports and email notifications to the users.
CCK Signup
An alternative to the Signup module that creates signups as nodes.

Version Status

  • Version 7.x-2.x is now recommended branch.
  • Version 7.x-1.x was original D7 branch and should not be used.
  • Version 6.x-2.x is supported and should be stable
  • Version 5.x-2.x and earlier are no longer supported.

Project Information

Downloads

Recommended releases

Version Downloads Date Links
7.x-2.0-rc2 tar.gz (203.59 KB) | zip (243.67 KB) 2012-Feb-01 Notes
6.x-2.8 tar.gz (255.43 KB) | zip (297.99 KB) 2012-Jan-11 Notes

Development releases

Version Downloads Date Links
7.x-2.x-dev tar.gz (204.38 KB) | zip (244.46 KB) 2012-Feb-10 Notes
6.x-2.x-dev tar.gz (255.45 KB) | zip (298.25 KB) 2012-Feb-07 Notes

Maintainers for Date

  • KarenS - 2851 commits
    last: 9 hours ago, first: 5 years ago
  • arlinsandbulte - 52 commits
    last: 3 days ago, first: 1 year ago
  • tim.plunkett - 149 commits
    last: 1 week ago, first: 31 weeks ago
  • developer-x - 6 commits
    last: 48 weeks ago, first: 1 year ago
  • dww - 1 commit
    last: 4 years ago, first: 4 years ago

Issues for Date

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 19 Dec 06
nobody click here