修复地震发生日期显示错误的BUG (#512)

This commit is contained in:
叡山电车 2018-08-22 22:18:04 +08:00 committed by DIYgod
parent e51d8f0d98
commit 10d96701b2
2 changed files with 2 additions and 2 deletions

View File

@ -2027,4 +2027,4 @@ type必选目前支持两种`hot` 代表热门游记,`latest` 代表
路由: `/earthquake`
参数: 无
参数: 无(提示:可通过全局过滤参数订阅您感兴趣的地区)

View File

@ -36,7 +36,7 @@ module.exports = async (ctx) => {
const info = [
$($scriptEls[0])
.html()
.match(/,"(.+)"/)[1],
.match(/origTime\("(.+分)/)[1],
$($scriptEls[1])
.html()
.match(/"(.+)"/)[1] + ', ',