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

[FEATURE] Modify the way date is displayed to attendees for long term events #1096

Open
MacBadger opened this issue May 30, 2023 · 1 comment
Labels
feature Add a new feature

Comments

@MacBadger
Copy link

The way events show up, the start date is in a big box, and automatically organised by that date.
The end date has no acknowledgement or part of organisation.

This is confusing for some people.

In our a case, a charity running an event which has one signup, but for a two month run of workshops on the same day and time. People can sign up part way through, but assume the date has passed.
The current workaround is putting 'until xx' in the event title.

My workaround
Screenshot from 2023-05-30 15-08-07

Order however means it can get lost.

Perhaps have a checkbox in the event, which allows the large box to display the beginning and end dates.

I would note this is a separate distinct idea from the 'recurring event' type ones (which have separate signups/orders) mentioned on other feature requests, which I would also support ( #570 #1008 for instance)

@MacBadger MacBadger added the feature Add a new feature label May 30, 2023
@MacBadger
Copy link
Author

MacBadger commented Feb 17, 2024

If anyone is looking to fix this. You can add the 'end date' as below.

Edit the file: Attendize/resources/views/Public/ViewOrganiser/Partials/EventListingPanel.blade.php

Original:

    <time datetime="{{ $event->start_date }}">
                         <span class="day">{{ $event->start_date->format('d') }}</span>
                         <span class="month">{{ explode("|", trans("basic.months_short"))[$event->start_date->format('n')] }}</span>
                         <span class="year">{{ $event->start_date->format('Y') }}</span>
                         <span class="time">{{ $event->start_date->format('h:i') }}</span>
       </time>

New:

 <time datetime="{{ $event->start_date }}">
                     <span class="day">{{ $event->start_date->format('d') }}</span> <span class="month">{{ explode("|", trans("basic.months_short"))[$event->start_date->format('n')] }}</span>
                     <span class="year">{{ $event->start_date->format('Y') }}</span>
                     <span class="time">{{ $event->start_date->format('h:i') }}</span>
 -
<span class="day">{{ $event->end_date->format('d') }}</span> <span class="month">{{ explode("|", trans("basic.months_short"))[$event->end_date->format('n')] }}</span>
                     <span class="year">{{ $event->end_date->format('Y') }}</span>
                     <span class="time">{{ $event->end_date->format('h:i') }}</span>
                </time>

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

No branches or pull requests

1 participant