diff --git a/lib/v2/qweather/now.js b/lib/v2/qweather/now.js index 7e179c4b4..1a0f79b05 100644 --- a/lib/v2/qweather/now.js +++ b/lib/v2/qweather/now.js @@ -2,7 +2,6 @@ const got = require('@/utils/got'); const { art } = require('@/utils/render'); const path = require('path'); const { parseDate } = require('@/utils/parse-date'); -const timezone = require('@/utils/timezone'); const config = require('@/config').value; const rootUrl = 'https://devapi.qweather.com/v7/weather/now?'; module.exports = async (ctx) => { @@ -27,7 +26,7 @@ module.exports = async (ctx) => { const data = [responseData.now]; - const timeObj = timezone(parseDate(responseData.updateTime), +8); + const timeObj = parseDate(responseData.updateTime); const time_show = timeObj.toLocaleString();