Using a date field, with timestamp, in CCK nodes, and dates aer not stored in the database.
It can be that one of the other modules cause this behaviour, such as pageroute, and for that reason I am searching for the cause of this.
However, creating a node, nor updating it, stores the date in the database.
Comments
Comment #1
karens commentedThis is very odd. I have no problems getting the date stored so I can't replicate this. Keep me posted as you dig into this, or let me know if there's anything specific you want me to do. I have not tried to use pageroute, so I know nothing about it. I have used CCK, Views, Event, Location, Javascript Tools, Gallery, OG, GMap, Fieldgroup, Imagefield, Imagecache, and Image along with Date with no problems so far.
Comment #2
Anonymous (not verified) commentedI have the same issue, but don't have pageroute installed. My modules are: CCK, Views and Pathauto. I'm using date 5.x-1.x-dev, because there is an error on 5.x-1.0-beta.
Comment #3
karens commentedCan both of you tell me what kind of date you are trying to create? I need to know:
1) Field type (date or datestamp)
2) Widget type (select, jscalendar, or text)
3) Granularity
4) Timezone option
Comment #4
karens commentedOh, and also:
5) Required or not?
6) Multiple or not?
Comment #5
m3avrck commentedKaren, this bug only occurs when you use the select widget type.
Datetimes are correctly stored when you use a textfield with strtotime(). Sorry don't have any more time to debug this :-)
Comment #6
karens commentedThanks m3avrck, that gives me something to work with. I'll see if I can figure out what's going on here.
Comment #7
Anonymous (not verified) commentedHello,
1) Datestamp
2) Select
3) Year/Month/Day
4) GMT
5) Not required
6) Not Multiple
Hope this help
Comment #8
karens commentedFound it and committed a fix to all branches. It was only affecting timestamp fields that used the drop-down selector, all other combinations worked right, so that's why I had trouble being able to recreate the problem.
Thanks, the info you provided helped me crack this problem!
Comment #9
karens commentedHit the wrong status item...
Comment #10
Anonymous (not verified) commentedThanks to you for this great module! ;-)
Comment #11
(not verified) commented