Revert "Fix display of the month at creation date"

This reverts commit 19eb6660e1.
This commit is contained in:
Hendrik Schutter 2019-06-09 13:02:26 +02:00
parent 6b6ef67122
commit 08840c4c2b

View File

@ -50,7 +50,7 @@ internal data class InternalTexture(
else -> throw ConnectionInvalidJsonException()
},
resolution = Pair(resolution[0], resolution[1]),
addedOn = GregorianCalendar(added_on[0], added_on[1] - 1, added_on[2]),
addedOn = GregorianCalendar(added_on[0], added_on[1], added_on[2]),
textureHash = Sha256(texture_hash)
)
} catch (e: Exception) { // i Know, but no time :[]