Download date-7.x-2.x-dev.tar.gztar.gz 224.66 KB
MD5: ca8b396aa291b8708f7462eb0e43053d
SHA-1: 7b3190f8fac7d47d4e0171aa28c1f4e4def34c55
SHA-256: a17756eb199304167e9de80ab6c38bf035da47bca7b2db9c4b469eccda0eb093
Download date-7.x-2.x-dev.zipzip 270.59 KB
MD5: 82b03c1bceea5a40d97fe917896d717c
SHA-1: a244083a175fd7711b2361161049076872e1a15e
SHA-256: 5b1e1eedd867f2c1e519f851dbbd839b8159c21fbab31fcfa248978a956d5ee4
Install with Composer: $ composer require 'drupal/date:2.x-dev'
Using Composer to manage Drupal site dependencies

Release info

Created by: KarenS
Created on: 28 Feb 2011 at 11:40 UTC
Last updated: 16 Jan 2018 at 19:03 UTC
Core compatibility: 7.x
Release type: New features

Release notes

Known Issues
#2646646: Tests are broken on current 7.x-2.x branch

This branch will totally re-work and simplify the Views filters. These changes may/will break some views and will require that you check views that use the date filter or argument to be sure they are still configured correctly.

There is a new date_filter_handler_simple for an individual date field that simplifies the Views handling by using most of the core Views field handling but adds in the possibility to set a default date using options like 'now', along with a choice of a month/day/year drop-down selector or popup calendar selector.

The date_filter_handler is an extension of the simple handler that allows you to combine multiple dates into a single filter so that you can control all of them with the same filter widget, allowing you to either 'OR' or 'AND' them together.

The arguments will be rewritten in the same way, with a simple argument handler for individual dates and another handler that extends that to control multiple dates with a single argument.

The Calendar module will need an update when this is finished to use the new handlers correctly.

This code is NOT yet ready to use.

Dependencies

The selected release is the release that will be used for automated testing. Optional projects are only used for testing.

Required

Optional