🇺🇦 |
This module is maintained by Ukrainian developers. Please consider supporting Ukraine in a fight for their freedom and safety of Europe. |
This package contains both a flexible date/time field type Date field and a Date API that other modules can use.
The Drupal Handbook pages are at Date/Calendar Documentation.
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.
Drupal 8 & 9
Much of the Date module was rewritten and included in Drupal core 8. There are efforts to improve this functionality, see #2543958 for further details.
No further work will be done on the D8 branch of this module, all effort should be focused on core.
Drupal 9 upgrade path
- Simple date fields - migrate into core's DateTime module.
- Fields with end dates/times - TBD.
- "All day" dates - a migration path is needed for Date All Day - #3253067: Migrate configuration, data from Date on Drupal 7.
- Others - TBD, see #2543958: [META] DateTime Module Improvements.
Drupal 7
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.
Preliminary support is included 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).
7.x-3.x branch
Due to an unfortunate break in 7.x-2.11 (sorry!) the all-day functionality is being rewritten completely in a new branch - 7.x-3.x. Once this is stable, it has sufficient update scripts and test coverage, it will replace the 7x-2.x branch.
D7 Videos/Tutorials
- NEW! Dates With Drupal 7 a series of videos about configuring and using the Date module on Drupalize.me. Note: Introduction & Date configuration and settings videos are free. More advanced Date video topics require Drupalize.me membership.
- NEW! Calendars with Drupal 7 a series of videos about configuring and using the Calendar module on Drupalize.me. Note: The introductory videos are free, advanced videos require Drupalize.me membership.
- What's New in Date and Calendar in Drupal 7
- DEPRECATED: D7.3 Calendar installation & configuration screencast from Arlin Sandbulte
- DEPRECATED: D7.2 Calendar installation & configuration screencast from Sean Effel at DrupalTherapy.com
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.
Project information
- 180,368 sites report using this module
- Created by KarenS on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
PHP 8 fixes (from 7.x-2.x). Other fixes.
Development version: 7.x-3.x-dev updated 1 Feb 2023 at 17:43 UTC
PHP 8.2 support, other minor issues.
Development version: 7.x-2.x-dev updated 1 Feb 2023 at 17:41 UTC