Back to Calendar Support

Mathilde Escher Stiftung
Mathilde Escher Stiftung

Hello, Thanks for the plugin. We like it :)

But we have a Problem with the timezone. Is there a way to put it to UTC +01:00? Or do I need to do that in the .env or somewhere else?

Waryor
Waryor

Hey,

i will add a custom input field to adjust the offset manually.

This may take a day or two.

Regards

Mathilde Escher Stiftung
Mathilde Escher Stiftung

Hey Sayem, Thank you very much! Is there the possibility that I can help you there somehow?

Waryor
Waryor

Hey,

sorry for the delay.

Currently working on it, will release a patch at the end of the day.

Regards

Waryor
Waryor

Mathilde Escher Stiftung said:

Hey Sayem, Thank you very much! Is there the possibility that I can help you there somehow?

Just updated the calendar, let me know if this is what you were looking for.

If there is something else i can do, just let me know - if you like the plugin, a postive review would be welcome :)

Last updated

Mathilde Escher Stiftung
Mathilde Escher Stiftung

Hey Sayem,

Thanks for the update! I installed it locally for now, because my composer has somehow problems on the live website...

Unfortunately I get a 500 Internal Server Error, when going to the page, where I put the calendar component. Here's some more log-info:

scheme
    https
host
    rc-zuerich-v02.dev.mehdom.meh.ch
filename
    /api/christophheich/calendar/feed/null/null/Europe~Zurich
start
    2021-11-01T00:00:00+01:00
end
    2021-12-13T00:00:00+01:00

This URL with null inside is maybe the bug. Could it be the PHP version? It's right now on 7.2 on my localhost (unfortunately I can't update at the moment).

Waryor
Waryor

Mathilde Escher Stiftung said:

Hey Sayem,

Thanks for the update! I installed it locally for now, because my composer has somehow problems on the live website...

Unfortunately I get a 500 Internal Server Error, when going to the page, where I put the calendar component. Here's some more log-info:

scheme
  https
host
  rc-zuerich-v02.dev.mehdom.meh.ch
filename
  /api/christophheich/calendar/feed/null/null/Europe~Zurich
start
  2021-11-01T00:00:00+01:00
end
  2021-12-13T00:00:00+01:00

This URL with null inside is maybe the bug. Could it be the PHP version? It's right now on 7.2 on my localhost (unfortunately I can't update at the moment).

No those should not be a problem, the first null is for the limitation of a calendar, null = no limitation, and the second one is for a category, null = no category (show all)

Can you access the url manually? domain + /api/christophheich/calendar/feed/null/null/Europe~Zurich

I will try to reproduce this issue on my own system with php 7.2 - could you try to enable debug mode in the env and let me know what leads to this issue?

Mathilde Escher Stiftung
Mathilde Escher Stiftung

Hello,

I found the Problem: If you don't specify an start or end date in the backend for an event, then e.g. the call:

$data['end']->setTimezone($timezone)->format('Y-m-d\TH:i:s');

In plugins\christophheich\calendar\models\Entry.php is on null.

In our case, there was a missing end-date somewhere. Shouldn't these fields be required?

But the timezone feature seems to work great!

Waryor
Waryor

Hey,

thanks for providing the info, i will fix this issue within this day. If you need anything else, let me know.

Regards

1-9 of 9