By adam1 on
hello,
i've got an date-field (unix timestamp, without collecting an end date), but when displaying the field in a node, it's always shaped like this:
2011.12.27, 8am till 2011.12.27, 8am
I just want an single point of time, no range. In the display-settings, there is written "Show all value(s) starting with earliest, ending with latest", but i can't change this.
Any Suggestions?
Comments
admin
try going to administer content types -> mytypename -> display settings and see if you can hide the end date for node view
Thanks for your advice, but the problem persists
When i go to content types -> mytypename -> display settings, i chose "date and time" in the field format settings. When i click on the gear-wheel, i can choose between the defined user-views of the date (long, middle, short), but every format produces the same range; even when i define custom formatters in php-syntax. maybe it is a problem with the german version of drupal?
in
in /admin/structure/types/manage/mytypename/display, change "display" to start date only
... strange behavior
in /admin/structure/types/manage/mytypename/display there is no option to choose something like "start date only". But i figured out something strange: when in the field-settings under "date attributes to collect" the attribute "minutes" is disabled, the problem occurs (date range is displayed always). When "minutes" are enabled, the dates will be displayed correctly without range ... could be a bug in the date-module?
Solved: new release of date-module resolved the issue
... with the release of date module 7.x-2.0-rc1 the bug is gone. now everything is displayed without range.
devel_themer can cause this issue as well
I was having the same symptom with date-7.x-2.5. I found an issue in the date issue queue that pointed me to devel_themer: disabling that made my dates display correctly (without the spurious end date).
See: http://drupal.org/node/1299640
Date range rather than specific date displayed
Thank you. I was just ready to start pulling my hair out when I found this.
Disabling the Theme developer module restored the date display to normal.
D7 / Omega / Theme Developer 7.x-1.x-dev / date and time field module 7.x-1.2 / date module 7.x-2.6
Posting here in case the extra description helps anyone else find this solution.