From: <dai...@us...> - 2017-12-02 07:55:19
|
Revision: 7869 http://sourceforge.net/p/web-erp/reponame/7869 Author: daintree Date: 2017-12-02 07:55:17 +0000 (Sat, 02 Dec 2017) Log Message: ----------- Tim fixed US date format date picker javascript Modified Paths: -------------- trunk/doc/Change.log trunk/javascripts/MiscFunctions.js Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2017-12-02 07:37:07 UTC (rev 7868) +++ trunk/doc/Change.log 2017-12-02 07:55:17 UTC (rev 7869) @@ -1,6 +1,7 @@ webERP Change Log -2/12/17 Phil: Purchases report - also deleted id non-exsitent in css committed changes suggested by VortecCPI http://www.weberp.org/forum/showthread.php?tid=7943 +2/12/17 Phil committed Tim Schofield's fix for javascript date picker for US date formats +2/12/17 Phil/Paul Becker: Purchases report - also deleted id non-exsitent in css committed changes suggested by VortecCPI http://www.weberp.org/forum/showthread.php?tid=7943 23/11/2017 Andy Couling: Added Petty Cash receipt file upload to directory functionality. 7/11/17 Exson: Remove cost updating for WAC method in BOMs.php. 25/10/17 Exson: Fixed the salesman authority problem in PrintCustTrans.php. Modified: trunk/javascripts/MiscFunctions.js =================================================================== --- trunk/javascripts/MiscFunctions.js 2017-12-02 07:37:07 UTC (rev 7868) +++ trunk/javascripts/MiscFunctions.js 2017-12-02 07:55:17 UTC (rev 7869) @@ -249,8 +249,8 @@ break; case "m/d/Y": dA = dS.split("/"); - m = parseInt(dA[0], 10); - d = parseInt(dA[1], 10)-1; + m = parseInt(dA[0], 10)-1; + d = parseInt(dA[1], 10); y = parseInt(dA[2], 10); break; case "Y-m-d": |