Skip to content

Commit

Permalink
Merge pull request wikimedia-gadgets#16 from NovemLinguae/endash
Browse files Browse the repository at this point in the history
don't convert dash to endash for train locomotive info
  • Loading branch information
mmiyer authored Apr 9, 2024
2 parents d968cbb + 77c30c8 commit 0ce19b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shortdesc-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ window.sdh.main = function () {
*
* @type {RegExp}
*/
var DATEPATTERN = /(\d+)-(\d+)/;
var DATEPATTERN = /(\d\d+)-(\d\d+)/;

/**
* Replace for date spans.
Expand Down

0 comments on commit 0ce19b0

Please sign in to comment.