Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When using /calendar/month view and set the context filter to a month with less than 31 days - example: set uri to calendar/month/201609 on 8/31/2016 (set the server system time), the calendar will not render.
This seems to be an issue with DateArguementWrapper function createFromFormat($value) when format arguement is 'Ym', a quick work around may be if the format is 'Ym', append 01 to value (so it's first day of the month) and then generate the date object using Ymd?
Comments
Comment #2
geertvd CreditAttribution: geertvd at XIO commentedThis should be fixed in #2737239: Missing months with less than 31 days, only on the 31st of a month.
Comment #3
geertvd CreditAttribution: geertvd at XIO commented