Closed (duplicate)
Project:
Date
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2009 at 14:50 UTC
Updated:
8 Sep 2010 at 02:51 UTC
Hi,
I have a date field in a custom content type with a signup option (signup module) attached.
I have my "Default value for To date:" set to blank and my "To Date:" set to never.
This because I have all day events.
When I create a new node it displays two dates something like 17-10-2009 - 17-10-2009
The "Display fields" tab has an "ending on" option maybe I can define something there?
How do I get rid of the end dates?
Comments
Comment #1
ahoeben commentedDo you have "Theme developer" (part of the Devel package) enabled?
In theme_date_display_combination() (found in date/date/date.theme), theres a check to see if the formatted date values match. If Theme developer is turned on, both formatted date values are wrapped in a uniquely identified span, so they don't match anymore.
If you turn off Theme developer, you should only see your single (start) date.
Comment #2
botrisWow,
Thanx alot.
I could have kept searching for hours more and would have never found that out.
Comment #3
ahoeben commentedMarked this as a bug. The functionality of the date module should probably not depend on the themed output here.
Comment #4
arlinsandbulte commentedConfirmed with current -dev version of Date -> 6.x-2.x-dev (2010-May-01)
Just as #1 says.
Devel 6.x-1.20
Theme developer 6.x-1.x-dev (2010-Mar-16)
Comment #5
arlinsandbulte commentedDuplicate of #593798: Date fields with no "to" date, show the "From date" twice when devel theme module is enabled