RSSHub/test/middleware
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
..
access-control.js refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
anti-hotlink.js feat: anti-hotlink for images (#4481) 2020-04-28 10:27:47 +08:00
cache.js feat(core): first attempt to init script standard (#8224) 2021-09-22 05:41:00 -07:00
debug.js feat: remove hot ip in debug info 2021-01-21 11:57:16 +08:00
header.js test: etag 2020-09-29 19:00:24 +08:00
onerror.js feat: sentry route timeout 2021-02-01 20:06:23 +08:00
parameter.js test: opencc 2020-09-25 01:43:59 +08:00
template.js fix(core): offending RFC4287 (#9441) 2022-04-02 17:44:45 +08:00