hello,
I am using the Webform Module on my Drupal 6.12 site for Users to participate in different plans. One Plan is for Catering, one for Cleaning and so on
The Submission page has following values
Name
Date (the Date where the User want to participate)
After submission the user gets a mail with the values he entered.
In this mail there is something wrong with the date.
The date in the mail is always "31 December 1969" regardless the date the user entered.
However, after checking the database it shows that the date stored is exactly the date the user entered.
I am also using the "Webform Report" Module which shows the results of my webform. There the date displayed is the same the user entered (which of course is obviously, as the webform report module only reads from database)
Are there any ideas what may cause this bug?
kind regards,
Jakob
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | date .inc_.txt | 16 KB | aichfeldjugend |
Comments
Comment #1
quicksketchHave you installed the DateAPI module? There's a similar sounding report in #476354: DateAPI prevents date component proper ordering.
Comment #2
aichfeldjugend commentedhello again,
thanks for the answer
No, I don't have the Date API Module installed
But I have made some changes to the code of an file of the module
Changed file: /components/date.inc
Changed line: 253 - 258
This change allows me to use the german date format not the american.
Could this be the possible error?
Attached is the changed file
Comment #3
quicksketchSupport for customized code is not provided. From the changes you've made, it's almost certainly corrupted the data that Webform saves and will cause unexpected behavior.