Skip to content
Browse files

Merge pull request #8 from terinjokes/master

Fixing custom parsers
  • Loading branch information...
2 parents 0307bd5 + 1918f41 commit 8b03b86ad7d7bc4801054cb208264b6c21fd09c2 @arshaw committed Mar 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/xdate.js
View
2 src/xdate.js
@@ -378,7 +378,7 @@ function parse(str, utcMode, xdate) {
var i = 0;
var res;
for (; i<parsers.length; i++) {
- res = parsers[0](str, utcMode, xdate);
+ res = parsers[i](str, utcMode, xdate);
if (res) {
return res;
}

0 comments on commit 8b03b86

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