Fix display of the month at creation date
This commit is contained in:
parent
4e8b4c364b
commit
19eb6660e1
|
@ -50,11 +50,11 @@ internal data class InternalTexture(
|
||||||
else -> throw ConnectionInvalidJsonException()
|
else -> throw ConnectionInvalidJsonException()
|
||||||
},
|
},
|
||||||
resolution = Pair(resolution[0], resolution[1]),
|
resolution = Pair(resolution[0], resolution[1]),
|
||||||
addedOn = GregorianCalendar(added_on[0], added_on[1], added_on[2]),
|
addedOn = GregorianCalendar(added_on[0], added_on[1] - 1, added_on[2]),
|
||||||
textureHash = Sha256(texture_hash)
|
textureHash = Sha256(texture_hash)
|
||||||
)
|
)
|
||||||
} catch (e: Exception) { // i Know, but no time :[]
|
} catch (e: Exception) { // i Know, but no time :[]
|
||||||
throw ConnectionInvalidJsonException()
|
throw ConnectionInvalidJsonException()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue