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

Telegram: improve formatting #42

Open
joergrs opened this issue Nov 13, 2022 · 0 comments
Open

Telegram: improve formatting #42

joergrs opened this issue Nov 13, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@joergrs
Copy link
Member

joergrs commented Nov 13, 2022

The Telegram bot feature was implemented in #40 . Currently the event entries are formatted as

*[starttime] Uhr* [organizer] | [title]

Improvements

  1. Better would be to have both start and end times: [startime]-[endtime] Uhr (e.g. "12-13:30 Uhr")
  2. All-day events currently show "0 Uhr". Better: "Ganztägig"
  3. Multi-day events currently are only shown at the first day. Better: [starttime] Uhr [organizer] | [title] (bis [lastday])

Implementation: https://github.com/gruenes-brett/community-calendar/blob/master/view/markdown/class-comcal-markdown-event-renderer.php

@joergrs joergrs added enhancement New feature or request good first issue Good for newcomers labels Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant