mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
Update changelog.js
This commit is contained in:
@@ -39,10 +39,10 @@ module.exports = async (ctx) => {
|
||||
const patt = /[0-9]\d*/g;
|
||||
let result;
|
||||
let date = "";
|
||||
while ((result = patt.exec(str)) != null) {
|
||||
while ((result = patt.exec(str)) !== null) {
|
||||
date += result + '-';
|
||||
}
|
||||
return date.replace(/\-$/g, "");
|
||||
return date.replace(/-$/g, "");
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user