Pixiv: fix chapter dates (#17289)

This commit is contained in:
Solitai7e 2023-07-29 02:31:34 +00:00 committed by GitHub
parent ffd04a5671
commit 2a47132cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Pixiv'
pkgNameSuffix = 'all.pixiv'
extClass = '.PixivFactory'
extVersionCode = 5
extVersionCode = 6
isNsfw = true
}

View File

@ -348,7 +348,7 @@ class Pixiv(override val lang: String) : HttpSource() {
SChapter.create().apply {
setUrlWithoutDomain("/artworks/${illust.id!!}")
name = illust.title ?: "(null)"
date_upload = illust.upload_timestamp ?: 0
date_upload = (illust.upload_timestamp ?: 0) * 1000
chapter_number = i.toFloat()
}
}