I've run into an issue with the Date field.
Go to jaysample.com and click on 'Calendar'.
You will see I have a calendar view page set up. This page displays nodes for a content type called 'Event'. Each event has an 'Event Date' field which the user specifies when adding a new 'Event'.
You'll notice that the Event I have listed displays the Date as 'Sun Dec 12', which is NOT correct. I confirmed that the correct date is being stored, because the Calendar page lists the event on the correct date. It's only when you view the actual date field that it displays 'Sun Dec 12'.
This is occurring for all events that I create and I don't know why. I did notice that 'Sun Dec 12' is the date used when previewing the different date formats on the 'Date and Time' page in the admin.
So for some reason, this 'format preview' date is being displayed for every 'Event' node.
I did all the troubleshooting steps suggested on the node page for the 'Date Field' module. I also deleted the 'Event' content type and re-created it. So I think the problem has something to do with my Date and Time settings in my admin.
Has anyone experienced this problem before and if so, do you know how to correct it?
Thanks,
-Adam
Comments
Your calendar come from a
Your calendar come from a view that has a date argument. By default that argument uses the nodes created time, you need to configure the argument to use your date field instead. (you may also want/need a filter on Node: type).
Thanks for the response, but
Thanks for the response, but I checked and that's not the problem.
This issue doesn't just occur with my Views, it also occurs when viewing the individual Event Nodes.
Also, Sun Dec 12th isn't the date the nodes were created, because the 12th was a Sat, not a Sunday. Next year (2010), the 12th of Dec falls on a Sunday, but not this year.
It's driving me nuts. I think it might be a bug or something. :(
***UPDATE*** The issue you
***UPDATE***
The issue you reported was actually a SECOND issue (which I've now fixed). Thanks for pointing that out!
But the original issue still remains. Now if you to go jaysample.com/calendar, you will see that the events are listed on the correct calendar day, but when you click them, the wrong date is displayed in the pop up window. This wrong date is also displayed on the node page for each individual event.
So the right date is being stored in the database, but a completely different date is being displayed on the front end. There must be a setting somewhere in Drupal that is off-setting the date to be displayed or something...any ideas?
Thanks again,
-Adam
Which fields is the view set
Which fields is the view set up to display? Or does it display a node?
I figured it out, I didn't
I figured it out, I didn't set up my custom date format correctly. All fixed now. Thanks for your help!