Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting individual meetings uses the wrong date/times and text is showing encoding chars #71

Closed
RCheesley opened this issue Mar 20, 2024 · 10 comments
Assignees

Comments

@RCheesley
Copy link
Member

Since the latest update:

  1. Exporting a single event to Google Calendar uses the wrong date/time (current rather than event)
  2. Exporting a single event to Google Calendar shows the encoding chars instead of plain text for the title and description

screenshot-calendar google com-2024 03 20-11_23_25

  1. The descriptive text with the link back to the event on Decidim is in German on all events - including those already imported via an existing calendar import:

screenshot-calendar google com-2024 03 20-11_22_49

@RCheesley
Copy link
Member Author

decidim/decidim#12628 reported upstream in decidim/decidim

@RCheesley
Copy link
Member Author

@froger any ideas on this? it's causing mayhem in our community as all the dates/times are totally wrong. People are missing a lot of meetings.

@escopecz
Copy link
Member

Pretty please. Or remove the calendar export completely. Nothing is better than this.

@froger
Copy link
Collaborator

froger commented May 10, 2024

Hello, looking at it right now.
It seems to me the date formatted by Decidim is not well parsed for Google Calendar (using rfc3339 https://github.com/decidim/decidim/blob/484ee5f93215a7c4c6ab06d530b2bb9fcf78bbba/decidim-meetings/app/presenters/decidim/meetings/meeting_presenter.rb#L92).
Trying different formats, will come with some news on Monday.

Thanks,

@RCheesley
Copy link
Member Author

Thanks @froger much appreciated!

@RCheesley
Copy link
Member Author

Examples:

https://community.mautic.org/assemblies/community-portal-working-group/f/45/meetings/154 - check the encoding on the add to calendar > google calendar.

https://community.mautic.org/processes/roadmap/f/44/meetings/40 - check the dates, they should be 2nd July but are using today's date and 11.30am.

@froger
Copy link
Collaborator

froger commented May 15, 2024

Hello, so it has nothing to do with timezone, but encoding of the link.
I've hotfixed something until I get to find a nicer solution for a PR.

Could you check it works better now @RCheesley ? This would validates we found the issue

@RCheesley
Copy link
Member Author

@froger looks like the issue is fixed, thanks for digging in and getting to the bottom of it! Was it something on our instance, or an upstream bug?

@froger
Copy link
Collaborator

froger commented May 29, 2024

@RCheesley It is an upstream bug, will do a PR in the following days

froger pushed a commit to octree-gva/community.mautic that referenced this issue Jun 5, 2024
@froger froger mentioned this issue Jun 5, 2024
froger added a commit that referenced this issue Jun 5, 2024
* fix: hotfix(#71)
* feat: add impersonation (#74)
* chore: add decidim theme (#75)
* fix: docker-entrypoint updated path
@RCheesley
Copy link
Member Author

Closing as this bug has been fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants