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

Also show absolute time in the events list #320

Merged
merged 3 commits into from
Jun 10, 2024
Merged

Conversation

akirk
Copy link
Member

@akirk akirk commented Jun 5, 2024

Fixes #288.

This now also shows the absolute date in list view and moves the relative day into parenthesis.

Old

rtcamp

New

Screenshot 2024-06-05 at 16 04 17

@akirk akirk self-assigned this Jun 5, 2024
Copy link
Member

@psrpinto psrpinto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused by the JavaScript changes, I thought the JS was only for the event form, is it also used for rendering the event lists?

templates/parts/event-list.php Outdated Show resolved Hide resolved
@akirk
Copy link
Member Author

akirk commented Jun 5, 2024

The JS autoupdates the time every 10 seconds. It's for situations where you have the event page open and then the event starts. It's a bit of a gimmick.

@akirk akirk merged commit 70ffed1 into trunk Jun 10, 2024
3 checks passed
@akirk akirk deleted the absolute-time-in-event-list branch June 10, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants