We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8ab05 commit 786224bCopy full SHA for 786224b
README.md
@@ -84,7 +84,7 @@ A cool description (optional).
84
## unreleased
85
* foo
86
87
-## x.y.z - YYYY-MM-DD
+## x.y.z - YYYY-MM-DD (or DD.MM.YYYY, D/M/YY, etc.)
88
* bar
89
90
## [a.b.c]
index.js
@@ -4,7 +4,7 @@ var removeMarkdown = require('remove-markdown')
4
5
// patterns
6
var semver = /\[?v?([\w\d.-]+\.[\w\d.-]+[a-zA-Z0-9])\]?/
7
-var date = /.*([\d]{4}-[\d]{2}-[\d]{2}).*/
+var date = /.*[ ](\d\d?\d?\d?[-/.]\d\d?[-/.]\d\d?\d?\d?).*/
8
var subhead = /^###/
9
var listitem = /^[*-]/
10
0 commit comments