Skip to content

Commit

Permalink
Merge pull request #131 from gautaz/master
Browse files Browse the repository at this point in the history
  • Loading branch information
billscheidel committed Nov 21, 2015
2 parents c1809c1 + 5f026a5 commit 5d38cc3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion later.js
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ later = function() {
var recur = later.parse.recur, pos = 0, input = "", error;
var TOKENTYPES = {
eof: /^$/,
rank: /^((\d\d\d\d)|([2-5]?1(st)?|[2-5]?2(nd)?|[2-5]?3(rd)?|(0|[1-5]?[4-9]|[1-5]0|1[1-3])(th)?))\b/,
rank: /^((\d+)(st|nd|rd|th)?)\b/,
time: /^((([0]?[1-9]|1[0-2]):[0-5]\d(\s)?(am|pm))|(([0]?\d|1\d|2[0-3]):[0-5]\d))\b/,
dayName: /^((sun|mon|tue(s)?|wed(nes)?|thu(r(s)?)?|fri|sat(ur)?)(day)?)\b/,
monthName: /^(jan(uary)?|feb(ruary)?|ma((r(ch)?)?|y)|apr(il)?|ju(ly|ne)|aug(ust)?|oct(ober)?|(sept|nov|dec)(ember)?)\b/,
Expand Down
Loading

0 comments on commit 5d38cc3

Please sign in to comment.