Skip to content

Commit

Permalink
Update regex for parsing dates in ReleaseNotesHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
allykzam committed Aug 21, 2015
1 parent 43de5cf commit 92f0de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/FakeLib/ReleaseNotesHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ let parseVersions =
assemblyVersion, nugetVersion

let parseDate =
let dateRegex = getRegEx @"(19|20)\d\d([- /.])(0[1-9]|1[012])\2(0[1-9]|[12][0-9]|3[01])"
let dateRegex = getRegEx @"(19|20)\d\d([- /.])(0[1-9]|1[012]|[1-9])\2(0[1-9]|[12][0-9]|3[01]|[1-9])"
fun line ->
let possibleDate = dateRegex.Match line
match possibleDate.Success with
Expand Down

0 comments on commit 92f0de8

Please sign in to comment.