Hi,
This is really a follow on from http://drupal.org/node/151122 but I thought it best to start a new issue anyway.
As VeryMisunderstood pointed out PHP defaults to 1970 and I am finding this to be the case with the date component in webform. The date component has a default of %profile[profile_dob] where profile_dob = date of birth. If the dob is before 1970, webform displays January 1, 1970 as the default.
I've installed the adodb library (thanks VeryMisunderstood for that link) in the data module but this has had no effect on webform.
If I manually change the date to anything prior to 1970 when completing the webform the field is left blank in the submitted email but shown correctly in the table of results.
thanks in advance!
Comments
Comment #1
quicksketchThis issue has been corrected as long as you are using PHP 5.1 or higher. A strtotime() bug in previous versions of PHP causes all dates prior to 1970 to be read as a 0 timestamp. The issue is described a little more extensively in http://drupal.org/node/188616.