Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alemart committed Sep 23, 2022
1 parent 1967392 commit f26ba36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/releases2appdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function parse(rl)
const param = match(line, /(\d\.\d(\.\d(\.\d)?)?)\W*(.*)$/);
release = {
version: param(1),
date: new Date(param(4).replace(/(\d)(st|nd|tr|th)/gi, "$1").trim()),
date: new Date(param(4).replace(/(\d)(st|nd|rd|th)/gi, "$1").trim()),
items: []
};
releases.push(release);
Expand Down

0 comments on commit f26ba36

Please sign in to comment.