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

ahoeben’s picture

Do 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.

botris’s picture

Wow,

Thanx alot.
I could have kept searching for hours more and would have never found that out.

ahoeben’s picture

Title: End date (To date) showing, but there is no end date » End date always showing when Theme developer (devel) is enabled
Category: support » bug
Priority: Normal » Minor

Marked this as a bug. The functionality of the date module should probably not depend on the themed output here.

arlinsandbulte’s picture

Version: 6.x-2.4 » 6.x-2.x-dev

Confirmed 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)

arlinsandbulte’s picture