mirror of
https://github.com/venera-app/venera-configs.git
synced 2025-09-27 08:27:24 +00:00
[picacg] Fix update time
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
"name": "Picacg",
|
"name": "Picacg",
|
||||||
"fileName": "picacg.js",
|
"fileName": "picacg.js",
|
||||||
"key": "picacg",
|
"key": "picacg",
|
||||||
"version": "1.0.1"
|
"version": "1.0.2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nhentai",
|
"name": "nhentai",
|
||||||
|
@@ -3,7 +3,7 @@ class Picacg extends ComicSource {
|
|||||||
|
|
||||||
key = "picacg"
|
key = "picacg"
|
||||||
|
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
|
|
||||||
minAppVersion = "1.0.0"
|
minAppVersion = "1.0.0"
|
||||||
|
|
||||||
@@ -463,6 +463,8 @@ class Picacg extends ComicSource {
|
|||||||
if(info.chineseTeam) {
|
if(info.chineseTeam) {
|
||||||
tags['Chinese Team'] = [info.chineseTeam];
|
tags['Chinese Team'] = [info.chineseTeam];
|
||||||
}
|
}
|
||||||
|
let updateTime = new Date(info.updated_at)
|
||||||
|
let formattedDate = updateTime.getFullYear() + '-' + (updateTime.getMonth() + 1) + '-' + updateTime.getDate()
|
||||||
return new ComicDetails({
|
return new ComicDetails({
|
||||||
title: info.title,
|
title: info.title,
|
||||||
cover: info.thumb.fileServer + '/static/' + info.thumb.path,
|
cover: info.thumb.fileServer + '/static/' + info.thumb.path,
|
||||||
@@ -479,7 +481,7 @@ class Picacg extends ComicSource {
|
|||||||
commentCount: info.commentsCount,
|
commentCount: info.commentsCount,
|
||||||
likesCount: info.likesCount,
|
likesCount: info.likesCount,
|
||||||
uploader: info._creator.name,
|
uploader: info._creator.name,
|
||||||
updateTime: info.updated_at,
|
updateTime: formattedDate,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 获取章节图片
|
// 获取章节图片
|
||||||
@@ -696,6 +698,7 @@ class Picacg extends ComicSource {
|
|||||||
'Image quality': "图片质量",
|
'Image quality': "图片质量",
|
||||||
'App channel': "分流",
|
'App channel': "分流",
|
||||||
'Favorite sort': "收藏排序",
|
'Favorite sort': "收藏排序",
|
||||||
|
'Sort': "排序",
|
||||||
},
|
},
|
||||||
'zh_TW': {
|
'zh_TW': {
|
||||||
'Picacg Random': "哔咔隨機",
|
'Picacg Random': "哔咔隨機",
|
||||||
@@ -714,6 +717,7 @@ class Picacg extends ComicSource {
|
|||||||
'Image quality': "圖片質量",
|
'Image quality': "圖片質量",
|
||||||
'App channel': "分流",
|
'App channel': "分流",
|
||||||
'Favorite sort': "收藏排序",
|
'Favorite sort': "收藏排序",
|
||||||
|
'Sort': "排序",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user