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
1 changed files with 2 additions and 2 deletions

View File

@ -50,11 +50,11 @@ 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 :[]
throw ConnectionInvalidJsonException()
}
}
}
}