Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Another follow-up release for the 8.x-2.0 branch of Smart Date. The key new feature in the 8.x-2.x branch is recurring dates, with an interface to manage instances, including the ability to reschedule or cancel individual instances.
Resolved issues from the previous release:
- Optimized for Claro: Input formatting has been updated to provide consistent formatting between Claro and the default admin theme, Seven.
- Recur rules cleaned up on entity delete: If recur rules are created to make one or more dates recurring for an entity, they would previously be left orphaned in the database when the entity was deleted. Now, they will be deleted when the entity is deleted.
- Updated version of Simshaun's recurr library: The version previously specified in this module's composer.json could cause errors when creating recurring dates.
- Other critical bug fixes: Thanks to input from maursilveira and mmekut this release contains fixes for issues that could cause critical failures when using the recurring functionality.
Remaining known issues in this release:
- There is currently no upgrade path from the 1.x branch. The key difference is a schema update to Smart Date fields, so if you insist on testing this version as an upgrade, you may be able to use devel_entity_updates, but this has not yet been tested. Generally it would be recommended to test on a fresh install (or an existing 8.x-2.x install), but eventually feedback on using this as an upgrade on an existing 8.x-1.x install would be appreciated.
- Smart Date Recur by default limits the number of instances to generate from a date set to recur without end. The intent is to propagate new instances with a cron task, but this has not yet been implemented.
As with any alpha release, we would recommend against using this module in production. On the other hand, all feedback is appreciated, so please post any experiences to #3058279: Recurring Dates. Add the the recurring smart date functionality by enabling the new smart_date_recur module, and then configuring a smart date field to allow recurring values. Documentation for the recurring date features is something I hope to have available in the coming weeks as well.
Note that once recurring rules are defined (using graphical UI elements in the Smart Date field interface) Smart Date Recur will generate field values, so no additional joins are required to display these values in views or other functionality that displays or otherwise accesses field values. As a consequence, the recurring date functionality is only available on date fields configured to accept multiple values.
The submodule makes use of the RRULE library at https://github.com/simshaun/recurr but if Smart Date is installed via composer this dependency should be installed automatically.