I'm listing this as a bug, but if I'm wrong I sure would appreciate some help.
I'm using PHP 5.2.11
I use date to list events sorted by days. I have a page view that shows all upcoming events under headings for the day they take place on (see it here: http://northshorekid.com/events and click the 'Upcoming Events' tab) I also have a block (mini panel actually) that renders the days of the week as quicktabs. Clicking the day tab, will display the events under that day. The working example is here in the upper part of the right column blocks: http://www.northshorekid.com.
My problem is that when I create an all day event (has a date but no times attached, or the times are from 12am-11:59pm), that specific event is listed under a new heading. The date is displayed and next to it will say 'All Day'.
For example, let's say I enter New Year's Day as an all day event. In the 'Upcoming Events' display on the Events page a new heading will be created with the title 'Saturday, January 1 (All Day)' and the quicktabs block will create a new tab called 'Sat (All Day)' -see attached screen shot.
I have tried this on all day events like New Years Eve and Christmas Day as well, because I'm aware of the New Year's Day wierdness in the issue queue. I've also tried this by leaving the times blank, keeping the times equal (12am-12am), and entering times to run the entire day (12:00am-11:59pm). These still make the event an 'All Day' event.
Date seems to be creating these as some kind of separate object and all I want to do is make the all-day event list with the other events for that day at the top of the list.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | All Day Display.PNG | 60.06 KB | SuperContraXTC |
| Date_All_Day_Weirdness.jpg | 68.61 KB | chowdah |
Comments
Comment #1
chowdah commentedI just tried making the times from 12:01am-11:59pm, and the event was listed with the rest of the other events under the correct heading, but this seems pretty archaic IMO.
Comment #2
karens commentedI don't know how quicktabs works and have no time to set it up and try to figure it out.
I would call this an edge case -- not a critical bug that keeps the module from working. If someone who uses quicktabs wants to try to figure this out they can post a patch.
Comment #3
chowdah commentedThanks Karen,
But the issue isn't just Quicktabs specific because the same thing happens when I try to group events by date using Views. Views will list everything correctly, but creates a new heading for the date with '(All Day)' in the title for all day events - see the screen shot. Is there a way to get all day events listed under the same group heading as the rest of that day's events?
Comment #4
SuperContraXTC commentedI am having the same issues. Please help. I am not using Quicktab, I am just using views. I like the "All Day" not to show on title and headers. It messing up the Grouping and display. Please look at the attachment.
Comment #5
endiku commentedThis is indeed not a quicktabs issue but a feature of Date module itself. There are two different solutions here
#1017216: custom date format without time shows "all day"
Comment #6
owntheweb commentedI seem to be having the same issue here:
http://www.nationalspacesymposium.org/agenda/full-extended-agenda
Scroll down to Wednesday where we have an "(All day)" master moderator being grouped separately from other events the same day. This did not occur the previous year with an older version of Date (using same views from last year even, just updated modules).
I tried theming the the views field this was grouping on to omit the " (All day)", with visual success while it was active. However the grouping was still separate so this must be happening before the theming aspect (so I reverted back)?
I think when I used to show only the start date only previously, "(All day) " was not part of the output. Now it is. Does that sound correct?
Thanks for the assistance in advance. :D
Comment #7
owntheweb commentedBased on link shared above, this had success, removing the grouping issue for me:
ON the flip side, now my day events show as 12:00 AM. That's good enough. Now I can go back in the views theme and replace 12:00 AM with "(All day)" again I think. Kinda funky but should work.
Thanks,
Comment #8
damienmckennaUnfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.