By Denis Rosset on
I'm running Drupal 5.0, with the webform module, with PHP 5.1.5 and MySQL 5.0.27 (with the French localization). I've updated the webform module to the latest version available.
I've created a form with a date field. The form is at the following web address : http://www.bernex.net/~denis/datcha/?q=node/1
When people enter data into the form, the date is shown correctly in the result table, that is available on the website itself. A mail is also sent to us, and there, the date is incorrect : it is always shown as the date of the previous day.
How can I correct this ?
Thank you !
Denis Rosset
Comments
Similar issue, webform, D6
Having trouble rendering the dates as created by my custom themed mail template file (webform-mail-123.tpl.php). If I write:
<?php echo $form_values['submitted_tree']['start_date']; ?>I will get a blank. If I write:
<?php print_r($form_values['submitted_tree']['start_date']); ?>I get "Array". If I write:
<?php echo $form_values['submitted_tree']['start_date'][2]; ?>I get "2008", the year.
Is there a render function that will spit out the date in the proper format? I am also having trouble finding a similar solution for check boxes (since they are returned as an array as well). Any help would be appreciated.
robdinardo, Did you find a
robdinardo,
Did you find a solution for the array problem here? I have the same issue and would like to know how to solve it.