Skip to content

2.3.0

Latest

Choose a tag to compare

@dereuromark dereuromark released this 05 May 02:13
· 12 commits to master since this release
54aa1dc

Fixes

  • Malformed Google Calendar URLs from GoogleCalendarHelper::url(). For Cake\I18n\Date, the date was built via property concatenation ($from->year . $from->month . $from->day) which skipped zero-padding — 2023-12-02 became 2023122 instead of 20231202, breaking the URL Google expects. For Cake\I18n\DateTime, only dashes were stripped from toIso8601String(), leaving colons and the +00:00 offset. The Date branch now uses format('Ymd') (zero-padded), the DateTime branch converts to UTC and formats as Google's documented YYYYMMDDTHHmmssZ, and the addDays(1) fallback for Date-only from is consistent with both.

Improvements

  • Switched 4 __() calls in CalendarHelper to __d('calendar', ...). Added resources/locales/calendar.pot (2 static msgids: previous, next).

Full Changelog: 2.2.0...2.3.0