fix timezone error

This commit is contained in:
ladeng07
2024-03-29 15:57:19 +08:00
parent 7e6a910bea
commit c99af4fa5b
+1 -1
View File
@@ -138,7 +138,7 @@ async function handler(ctx) {
component = _$('div.text-paragraph').html();
}
}
item.pubDate = timezone(parseDate(dateStr, 'YYYY-MM-DD HH:mm:ss'), +8);
item.pubDate = timezone(parseDate(dateStr, 'YYYY-MM-DD HH:mm:ss'), 0);
component = component.replaceAll(/\b(data-src)\b/g, 'src');
return component;
});