DateTime Range Until Now
175 sites
Security covered
This module extends the datetime_range module to support an "Until now" option for date ranges. When enabled, it allows the end date of a range to be marked as "until now," making the end date field optional and displaying the range accordingly.
This module is an extension of the datetime_range module and provides an additional field setting "Until now".
If activated this adds a third value (next to "value" and "end_value") "until_now" to the "daterange" FieldType.
The module also provides a FieldWidget which makes the "end_value" not required if the "Until now" field setting is active.
Additionally, the provided FieldFormatter outputs the field in a format like this:
01.01.2022 - Until now