From 11609bdf80370732b66ba99edecb9febd5d16beb Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 6 Jul 2010 11:15:46 -0400 Subject: [PATCH 1/3] must specify dateFormat for jQuery UI datepicker, otherwise a wrong MM/DD/YYYY is passed to MySQL --- tbl_change.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tbl_change.php b/tbl_change.php index 051b1fc23..61ccadc1c 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -1080,6 +1080,7 @@ foreach ($rows as $row_id => $vrow) { if ($field['pma_type'] == 'date' || $field['pma_type'] == 'datetime' || substr($field['pma_type'], 0, 9) == 'timestamp') { // the _3 suffix points to the date field // the _2 suffix points to the corresponding NULL checkbox + // in dateFormat, 'yy' means the year with 4 digits ?>