Commit graph

7 commits

Author SHA1 Message Date
b087098793
Fix broken month view if last week of December is in next year (#9)
The cause was using the wrong character in formatting the year. We now
switch from `Y` to `o` which will work based on the week instead of
date. This is necessary as we provide this year to the week, and
therefore need the year of the week, not day.

Resolves: #11388
2024-09-16 12:29:46 +02:00
03320171ce
Add TYPO3 v11 and PHP 8.x compatibility (#6) 2023-01-04 09:48:08 +01:00
f1d9466045
Add features to build an archive (#8)
* Add context to factory
* Allow configuring default arguments if missing in request
* Add plugin name to AssignTemplateVariables event
2023-01-04 08:42:36 +01:00
883dec188b
Add support for years
Add new action and model.

Also allow to get days of year and month.
Not always a week is helpful, sometimes all days of year or month are
more helpful.
2021-02-23 15:02:06 +01:00
6fff1efe49
Replace phpcs with ecs
This combines phpcs and php-cs-fixer and provides handy configuration.
2021-02-23 11:41:18 +01:00
a7ea6d0bc6
Fix broken tests
As day is always set to midnight, an existing test did not work anymore.
This was now split up into two separate more explicit tests.
2020-11-30 12:47:05 +01:00
98762332f5
calendar logic
Provide data structure for month, weeks and days.
Provide controller to open month, week and day.

Relates: #7887
2020-10-27 13:32:50 +01:00