Closed (duplicate)
Project:
Date
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jun 2009 at 00:58 UTC
Updated:
2 Aug 2009 at 11:06 UTC
I have set up two date-fields (6.x-2.2) in a content-profile, both set to have the "Default value for To date" set to Blank and "To date" set to Never. The content_type_profile-table correctly contains only one column for each date. But the user's profile pages show date fields with To dates, set to the same value as the given (From) date. For example:
Birthday: Friday, 17. September 1965 - Friday, 17. September 1965
Member since: Thursday, 1. January 2004 - Thursday, 1. January 2004
According to the advanced help from the date-module this should be configurable, but I couldn't find those settings.
Thank you for any help.
Comments
Comment #1
dreich77 commentedI have the same problem.
Core version: 6.12
Date module version: 6.x-2.2
It seems that the problem is in theme_date_display_combination() in /modules/date/date/date.theme.
There is a comparison:
But $date1 and $date2 contain "formatted" dates with <span> tags, but in tags classes are different, for that the comparison is always false.
Am I on the right way?
Comment #2
fagoI assume this is a bug of the date module.
Comment #3
LinL commentedThis looks like it is related to #523218: Default value for To date: Blank should stay blank