- Issue created by @prudloff
- πΊπΈUnited States mediabounds
I'm going to take a look today during DrupalCon Atlanta's contribution day.
- Merge request !11651Return a cacheable response from TimezoneController β (Open) created by mediabounds
- πΊπΈUnited States mediabounds
Since the response of this controller is based on the path arguments, then the only cache context needed is
route
.Additionally, I needed to add logic to set
$is_daylight_saving_time
to-1
if it was not specified in the route parameters. Otherwise,NULL
was passed totimezone_name_from_abbr
which generated a PHP notice and impacted the cachebility of the response (due to a message being added to the messenger service). - πΊπΈUnited States smustgrave
https://git.drupalcode.org/issue/drupal-3514879/-/jobs/4794239 shows the test coverage.
left one comment on the MR.
probably need a very simple CR about the return change. Rest looks godd
- πΊπΈUnited States mediabounds
I'm not familiar enough with the contribution process to know if I should write a draft of the change record before sending this back to "Needs Review" or if responding to the MR comment is enough and the "Needs change record" tag needs added.