RSSHub/lib/utils
Rongrong 5b35471e39
fix(core): offending RFC4287 (#9441)
* fix(core): offending RFC4287

should not leave `<updated>` blank when `<published>` is not blank
these two fields MUST conform to the "date-time" production in RFC3339

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* test(common-utils): complete tests

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* test(template): restrict expected value of `pubDate`

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-02 17:44:45 +08:00
..
common-config.js feat: 增加Discuz通用路由 (#3721) 2020-01-16 14:20:10 +08:00
common-utils.js fix(core): offending RFC4287 (#9441) 2022-04-02 17:44:45 +08:00
date.js Revert #5271 2020-07-29 17:25:41 +01:00
dateParser.js style(eslint): add no-implicit-coercion rule (#8175) 2021-09-15 21:22:11 +08:00
got.js fix(core): make sure timeout error messages include URLs (#7981) 2021-08-12 01:27:07 -07:00
logger.js style/chore(eslint): enforce new rules (#8040) 2021-08-17 22:23:23 +08:00
md5.js chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
parse-date.js fix(utils): parseDate custom format not working 2022-03-28 22:25:40 +08:00
puppeteer.js fix: typo in puppeteer options 2022-03-06 23:42:32 +08:00
readable-social.js feat: more readable twitter tweet (#6051) 2020-10-30 09:09:10 +00:00
render.js feat(core): first attempt to init script standard (#8224) 2021-09-22 05:41:00 -07:00
request-wrapper.js perf: lazy require dependencies (#8025) 2021-08-20 14:05:57 +08:00
rss-parser.js feat: use dynamical config 2019-09-18 17:45:21 +08:00
timezone.js style: auto format 2021-05-08 21:49:05 +00:00
torrent.js fix(core): torrent searching error (#9407) 2022-03-29 21:12:16 +08:00
wait.js