I have created a custom Content-Type with a date field.

When i clone the standart calendar view and try to select my date-field there are the strange options

Content - value
Content - value2
(I expected there a "Datum - value)

After saving the view the calendar is empty.

CommentFileSizeAuthor
bild2.png77.51 KBa.siebel
bild1.png44.42 KBa.siebel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

a.siebel’s picture

The SQL Output generated by the view:

SELECT node.nid AS nid,
node.title AS node_title,
node.changed AS node_changed,
node.type AS node_type
FROM node node
LEFT JOIN content_field_datum node_data_field_datum ON node.vid = node_data_field_datum.vid
WHERE (node.status <> 0)
AND ((DATE_FORMAT(ADDTIME(STR_TO_DATE(node_data_field_datum.field_datum_value, '%Y-%m-%%dT%T'), SEC_TO_TIME(3600)), '%Y-%m') <= '2009-03' AND DATE_FORMAT(ADDTIME(STR_TO_DATE(node_data_field_datum.field_datum_value2, '%Y-%m-%%dT%T'), SEC_TO_TIME(3600)), '%Y-%m') >= '2009-03'))
ORDER BY node_changed ASC

arlinsandbulte’s picture

Status: Closed (fixed) » Fixed

This issue has been fixed in the latest -dev.
See this issue for more details: #376224: 'From' and 'To' field titles get lost when provided to Views

Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.