Revision: 4727 http://sourceforge.net/p/vexi/code/4727 Author: clrg Date: 2014-09-10 11:34:35 +0000 (Wed, 10 Sep 2014) Log Message: ----------- Fix datepicker not working on 8th, 9th days
Modified Paths: -------------- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/util/date.t Modified: branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/util/date.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/util/date.t 2014-09-09 12:16:06 UTC (rev 4726) +++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/util/date.t 2014-09-10 11:34:35 UTC (rev 4727) @@ -90,7 +90,9 @@ } else { if (typeof(v)=="string") { - v = vexi.string.parseInt(v); + // we specify base 10 in case 1-9 specified + // as 01-09, which would be parsed as octal + v = vexi.string.parseInt(v, 10); } // NOTE: the order of the monthday +=/-= and month ++/-- // is important and dependent on days surplus / shortage This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn