Currently Date fields do not work with Deploy unless you have a Date type with select fields. This is because Services saves nodes through drupal_execute(), and Date module does not explicitly support this method of saving nodes.
Some more on this issue: #374346: Can't import date values into Date module fields
Comments
Comment #1
gddNote I don't plan on chasing after this for the time being, but if others want to start working on patches feel free.
Comment #2
trebuchet77 commentedThis is the last challenge for our use of Deploy.
There is no combination of "Date type with select fields" that I can get to work. I'm using a test content type with just simple Title/Body and 1 field to test this. I've tried pretty much all of the date formats (I'd like month-day-Year only), with year only, time only, all 6 ,etc. and they all lead to "illegal choice has been detected" error on the receiving server. We are actively using Deploy for many content types that don't have Date fields necessary.
I don't see where the date_deploy.module is ever being used, if that has anything to do with it.
Has anyone actually gotten Date fields to work? A beer or few at SF Drupalcon for any successful advice!
Drupal 6.15, btw.
Comment #3
gdoteof commentedThis is also a challenge for us. We are looking into using Deploy to go from one source to multiple clients.
I am hoping someone with experience can chime in here with exactly where the problem lies and potential ways to fix or hack around the issue.
Is the problem with the widgets on the Source or the Client end (or both?). For us, if the problem is the Source, then would it be feasible to change all of the widgets on the Source to be the 'acceptable' type, while leaving the Client widgets in place?
Comment #4
gddUntil such a time as there is a good solution I'm marking this won't fix
Comment #5
artt commentedtrebuchet77,
After spending a whole day to test different combinations. I just found I did the same thing with you. Of course, I got the same results.
I don't have more time and enough knowledge to focus myself on this problem right now, so I decided to cut out the date fields.
Almost 6 months passed since you've tested it.
Pity.
Art
Comment #6
snehi commentedI have changed some code in date_deploy module here is the attachment please check it, the date fields in pop up and select list are also working fine on php 5.2. here is the code, this code is also working with date, datetime and datestamp too