fix: 修复scoresaber用户动态中时区错误的问题 (#4543)
This commit is contained in:
parent
8d6e976885
commit
4405a2c1e7
|
|
@ -21,7 +21,7 @@ module.exports = async (ctx) => {
|
|||
const song = item.find('.songTop.pp').text();
|
||||
const mapper = item.find('.songTop.mapper').text();
|
||||
const rank = item.find('.rank').text();
|
||||
const time = item.find('.time').attr('title');
|
||||
const time = new Date(item.find('.time').attr('title')).toLocaleString();
|
||||
const ppValue = item.find('.ppValue').text();
|
||||
const ppWeightedValue = item.find('.ppWeightedValue').text();
|
||||
const scoreBottom = item.find('.scoreBottom').text();
|
||||
|
|
|
|||
Loading…
Reference in New Issue