chore(deps-dev): bump prettier from 1.19.1 to 2.0.2

This commit is contained in:
DIYgod
2020-04-02 21:21:46 +08:00
parent 27e4a7c151
commit 0e7b14e718
471 changed files with 1237 additions and 4457 deletions

View File

@@ -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);