Skip to content
This repository
Browse code

Fixing custom parsers.

  • Loading branch information...
commit 1918f41d21693dc70eec892bf299f623cee22120 1 parent 0307bd5
Terin Stock terinjokes authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/xdate.js
2  src/xdate.js
@@ -378,7 +378,7 @@ function parse(str, utcMode, xdate) {
378 378 var i = 0;
379 379 var res;
380 380 for (; i<parsers.length; i++) {
381   - res = parsers[0](str, utcMode, xdate);
  381 + res = parsers[i](str, utcMode, xdate);
382 382 if (res) {
383 383 return res;
384 384 }

0 comments on commit 1918f41

Please sign in to comment.
Something went wrong with that request. Please try again.