Skip to content

更换和维修扩展计划区域代码bug #2141

@EdisonJwa

Description

@EdisonJwa

路由地址

https://rsshub.app/apple/exchange_repair/kr

预期是什么?

当填写的地区代码为 kr 时 会报错

实际发生了什么?

额外信息(日志、报错等)

RSSHub 发生了一些意外:

RangeError: Invalid time value
    at Date.toISOString ()
    at /data/wwwroot/rsshub.app/lib/routes/apple/exchange_repair.js:57:99
    at processTicksAndRejections (internal/process/task_queues.js:89:5)
    at async Promise.all (index 0)
    at async module.exports (/data/wwwroot/rsshub.app/lib/routes/apple/exchange_repair.js:36:17)
    at async cache (/data/wwwroot/rsshub.app/lib/middleware/cache.js:258:9)
    at async module.exports (/data/wwwroot/rsshub.app/lib/middleware/parameter.js:4:5)
    at async module.exports (/data/wwwroot/rsshub.app/lib/middleware/template.js:15:5)
    at async /data/wwwroot/rsshub.app/lib/middleware/api-response-handler.js:148:9
    at async module.exports (/data/wwwroot/rsshub.app/lib/middleware/api-template.js:2:5)
    at async module.exports (/data/wwwroot/rsshub.app/lib/middleware/utf8.js:4:5)
    at async module.exports (/data/wwwroot/rsshub.app/lib/middleware/debug.js:14:5)
    at async module.exports (/data/wwwroot/rsshub.app/lib/middleware/access-control.js:36:13)
    at async module.exports (/data/wwwroot/rsshub.app/lib/middleware/header.js:17:5)
    at async module.exports (/data/wwwroot/rsshub.app/lib/middleware/onerror.js:5:9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions