[OpenLayers-Commits] r10989 - trunk/openlayers/lib/OpenLayers

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Sat Jan 1 18:41:47 EST 2011


Author: tschaub
Date: 2011-01-01 15:41:47 -0800 (Sat, 01 Jan 2011)
New Revision: 10989

Modified:
   trunk/openlayers/lib/OpenLayers/BaseTypes.js
Log:
Getting specific about the radix.  Trivial change.

Modified: trunk/openlayers/lib/OpenLayers/BaseTypes.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/BaseTypes.js	2011-01-01 23:15:47 UTC (rev 10988)
+++ trunk/openlayers/lib/OpenLayers/BaseTypes.js	2011-01-01 23:41:47 UTC (rev 10989)
@@ -666,7 +666,7 @@
                     // check offset
                     if (type !== "Z") {
                         var hoursOffset = parseInt(type, 10);
-                        var minutesOffset = parseInt(match[8]) || 0;
+                        var minutesOffset = parseInt(match[8], 10) || 0;
                         var offset = -1000 * (60 * (hoursOffset * 60) + minutesOffset * 60);
                         date = new Date(date.getTime() + offset);
                     }



More information about the Commits mailing list