fix: post publish date unmarshalling

This commit is contained in:
Diego Beraldin 2023-12-27 08:40:53 +01:00
parent f4408b2755
commit 3e18220bf8
3 changed files with 4 additions and 2 deletions

View File

@ -15,8 +15,8 @@ android {
applicationId = "com.github.diegoberaldin.raccoonforlemmy.android"
minSdk = libs.versions.android.minSdk.get().toInt()
targetSdk = libs.versions.android.targetSdk.get().toInt()
versionCode = 55
versionName = "1.1.1"
versionCode = 56
versionName = "1.1.2"
archivesName.set("RaccoonForLemmy")
}
buildFeatures {

View File

@ -146,6 +146,7 @@ internal fun Post.toModel() = PostModel(
text = body.orEmpty(),
thumbnailUrl = thumbnailUrl.orEmpty(),
url = url,
publishDate = published,
updateDate = updated,
nsfw = nsfw,
embedVideoUrl = embedVideoUrl,

View File

@ -0,0 +1 @@
- fix: post publish date deserialization