diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-11-15 22:00:16 +0100 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-11-15 22:00:16 +0100 |
| commit | 215178c650d38a4a77fdef6dc8815c07bef29c25 (patch) | |
| tree | 81f1e193ed519152b367cbd6f9fa0abf9d64a580 /src/main/kotlin/util | |
| parent | e8b2a48cf4ca090ae8e02f849e8175992045b2ed (diff) | |
| download | Firmament-215178c650d38a4a77fdef6dc8815c07bef29c25.tar.gz Firmament-215178c650d38a4a77fdef6dc8815c07bef29c25.tar.bz2 Firmament-215178c650d38a4a77fdef6dc8815c07bef29c25.zip | |
fix: make parsing timestamps case insensitive
Diffstat (limited to 'src/main/kotlin/util')
| -rw-r--r-- | src/main/kotlin/util/SkyblockId.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/util/SkyblockId.kt b/src/main/kotlin/util/SkyblockId.kt index 7fb6542..7e39a75 100644 --- a/src/main/kotlin/util/SkyblockId.kt +++ b/src/main/kotlin/util/SkyblockId.kt @@ -151,6 +151,7 @@ val ItemStack.skyBlockUUIDString: String? private val timestampFormat = //"10/11/21 3:39 PM" DateTimeFormatterBuilder().apply { + parseCaseInsensitive() appendValue(ChronoField.MONTH_OF_YEAR, 1, 2, SignStyle.NOT_NEGATIVE) appendLiteral("/") appendValue(ChronoField.DAY_OF_MONTH, 1, 2, SignStyle.NOT_NEGATIVE) |
