All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Craft 5 version now works with Postgres (#48)
- GraphQL queries now work with Craft 5 (#39)
- Fixed an issue where the plugin would only install on 8.2.0 specifically (#36)
Warning
When upgrading to Craft 5, you'll need to update templates that use isPast
, isFuture
, isOnGoing
or isNotPast
. Please see the upgrade guide for more information.
- Craft 5 support
- Fixed type error when using field through GraphQL
- Craft 4 🚀
- Craft CMS 4 compatibility
- Added
isNotPast
option (#31)
- Use field handle instead of name in EntryQueryBehavior (#26)
- Plugin now works with columnSuffix introduces in Craft CMS 3.7.0 (#26)
- PostgreSQL support
- Elements can now be sorted by date rang fields
- Add a field option and validtor to force the end date later than start date (#23)
- Fixed an issue with
formatted()
when the field didn't use time fields (#22)
- Fixed an issue with
formatted()
where the start date was used instead of the end date.
formatted()
now outputs dates in the current site locale
- Added more options to the
formatted()
option and documentation on how to use them (#15)
- Fixed an issue where the field wasn't working from the quick post widget (#14)
- When the field is added to element overview, the values are now formatted based on the current user's locale (#10)
- Full support for Craft's GraphQL API. (#8)
isFuture
on the field value is now based on the start date instead of the end date.
- Field labels are now translatable
- When saving a field with only a start date, we'll now use that as value for the end date as well. #4
- Added french translation of the field labels (Thanks @ockam, #6)
- Added dutch translations of the field labels
- Added optional
includeToday
parameter to entry query behaviour
isFuture()
andgetIsFuture()
now use the end date to determine when an event is over
isPast()
,isOnGoing()
andisFuture()
can now be used in entry queries, passing along the field handle you want to be used to the function. (requires MySQL 5.7 or higher)
- The field can now be displayed on element overview pages in the CP
- Added the
getFormatted
option to the field to display all data in 1 line
- Fixed an issue where using
isOngoing()
wouldn't use the correct data and woul