Skip to content

Releases: hananils/kirby-date-methods

Housekeeping + Docs

25 Jun 09:06

Choose a tag to compare

This release adds better docs and ensures Kirby 5 compatibility.

Fix `dateRange` locale awareness

07 Apr 09:53
a9078f0

Choose a tag to compare

This release fixes the dateRange function to correctly detect the current language instead of defaulting to German. See #3.

Version 2.1.0: Locale relative dates

17 Jan 18:42

Choose a tag to compare

  • Add missing locale setting to dateRelative()

Version 2.0.1: Examples

17 Nov 09:07

Choose a tag to compare

  • Added examples to the readme.

Version 2.0.0: Time Traveller

16 Nov 17:30

Choose a tag to compare

This update add more date methods and improves the overall documentation.
There are now the following methods available:

1. Converters

Converters read a date string and convert it to PHP date and time objects like DateTime, DateTimeImmutable or DateInterval or arrays.

2. Formatters

Formatters read a date string and return a formatted and localized string, either absolute or relative.

3. Modifiers

Modifiers adjust dates to the current day, month or year which is helpful when you need to display the birthday of a person this year.

4. Validators

Version 1.0.0

23 Jun 08:42

Choose a tag to compare

Initial release.