mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 14:40:23 +08:00
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2
This commit is contained in:
@@ -77,10 +77,7 @@ const tStringParser = (html, customFormat = undefined, lang = 'en', htmlOffset =
|
||||
if (/[+-](\d{2}:?\d{2})/.test(html)) {
|
||||
return d.toDate().toUTCString();
|
||||
} else {
|
||||
return d
|
||||
.add(htmlOffset, 'h')
|
||||
.toDate()
|
||||
.toUTCString();
|
||||
return d.add(htmlOffset, 'h').toDate().toUTCString();
|
||||
}
|
||||
} else {
|
||||
return date(html);
|
||||
|
||||
Reference in New Issue
Block a user