diff --git a/shared/src/androidMain/kotlin/bou/amine/apps/readerforselfossv2/utils/DateUtils.kt b/shared/src/androidMain/kotlin/bou/amine/apps/readerforselfossv2/utils/DateUtils.kt index a428111..8c2b8e0 100644 --- a/shared/src/androidMain/kotlin/bou/amine/apps/readerforselfossv2/utils/DateUtils.kt +++ b/shared/src/androidMain/kotlin/bou/amine/apps/readerforselfossv2/utils/DateUtils.kt @@ -13,8 +13,7 @@ actual class DateUtils { // yyyy-MM-dd'T'HH:mm:ss[.SSS]XXX (RFC3339) private val newVersionFormat = "(\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2})[+-](\\d{2}(:\\d{2})?)?".toRegex() - // We may need to consider moving the formatting to platform specific code, even if the tests are doubled - // For now, we handle this in a hacky way, because kotlin only accepts iso formats + // TODO: do not fix any more issues here. Move everything to plateform specific code. actual fun parseDate(dateString: String): Long { var isoDateString: String = try {