-
Notifications
You must be signed in to change notification settings - Fork 705
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
Community Events page has a difficult to understand format #905
Comments
can i work on it |
Go for it! |
Thank you for pointing this out, I can see this issue is still unresolved. Time: 10:30 am (America/Toronto) or Time: 10:30 (-4 America/Toronto) I’ll make the necessary adjustments and test the output to ensure accuracy. Please let me know if you have a preference for the exact format! |
I'd suggest Time: |
I attempted to resolve the issue using the code: Time: {{ event.date | append: "T" | append: event.time | date: "%I:%M %p" }} ({{ event.timezone }})However, the output remains in the format Time: 19:00+01:00 (Europe/Berlin). Despite testing multiple variations, the desired format (e.g., Time: 7:00 pm (Europe/Berlin)) is not displaying correctly. Could someone confirm if there’s an issue with the liquid templating or point out where adjustments may be needed? Thank you! |
It seems that's literally the data in the file. If someone knew what the solution was they already would have opened a PR. |
I’ve implemented the following logic for handling the time formatting:
However, the output remains unchanged and still displays the original format like Time: 19:00+01:00 (Europe/Berlin). Despite testing different approaches, the expected format, such as Time: 7:00 pm (Europe/Berlin), does not render correctly. Could someone confirm if there’s any additional processing step or data issue that could be affecting this? Any guidance would be greatly appreciated! Thank you! |
I'm not sure how you tested it. The example I provided was checked in a local testing server. |
The code that generates a list of community events from Meetup:
pages/social/community_events.md
generates output like:
This is confusing, as the end time is not 4 pm, but another time entirely. This is actually saying the time zone in the image.
Could the time zone be separated out and made more obvious?
Time: 10:30 (-4 America/Toronto)
or just
Time: 10:30 am (America/Toronto)
The text was updated successfully, but these errors were encountered: