Motivation
Currently events marked as 'All day' show their time as being from 12:00AM when viewing the event, which users find confusing. This is also the case for multi-day events that span several days. (See screenshot.)
Proposed resolution
Hide the time value on the display of 'All day' events. By definition and 'All day' event should not have any times associated with it. Otherwise it could have a proper start and end time (I wish all events could, that would make things much simpler!).
Challenges
I've done some research but I'm not familiar enough with how dates/times are handled yet to tackle this. I cannot see how the 'all day' flag is stored on the node? Or if it is at all?
I'm also not sure how this would work best with localisation. ie: how an all day event in one timezone should be displayed to a user in a different timezone. Currently the dates/times of the 'all day' event are shifted to the user's timezone. So the all day event:
13 - 15 February
12am
for Europe/London
becomes
12 - 14 February
9:00PM
for America/Argentina/San_Luis
One approach would be to still ditch the time, and keep the 'original/authored' timezone's dates, but then display the timezone? So:
13 - 15 Feburary (Europe/London)
But that interferes with how dates are handled based on the current user's timezone.
I suppose this makes the issue related to:
#2171709: Event Date display cannot be localized
#2155873: Display the timezone for events and calendars. Add a "Show Timezone" widget
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | all-day-event-time.png | 6.17 KB | jkingsnorth |
Comments
Comment #1
jkingsnorth commentedComment #2
dijup tuladhar commentedFor me there is no all day event option in for event page?
where did i missed?
Comment #3
cgove commentedMy upgraded install didn’t have it either until I reverted the event feature.
Comment #4
dijup tuladhar commentedI can see it now, it is there in the page I reverted the event feature and it worked for me.
Comment #5
hefox commentedAll day are showing as all day for me, seems like it's fixed.
Comment #6
hefox commentednvm, found where it says 12 am
Comment #7
hefox commentedEvent detail page should now say all day for all day events (otherwise act the same)