diff --git a/Shortdesc-helper.js b/Shortdesc-helper.js index d18205f..6586ce4 100755 --- a/Shortdesc-helper.js +++ b/Shortdesc-helper.js @@ -175,7 +175,7 @@ window.sdh.main = function () { * * @type {RegExp} */ - var DATEPATTERN = /(\d+)-(\d+)/; + var DATEPATTERN = /(\d\d+)-(\d\d+)/; /** * Replace for date spans.