chore: comment.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/promote/production Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
aminecmi 2024-04-17 12:39:45 +02:00
parent 859bd91bbb
commit 1ec05d9913
1 changed files with 1 additions and 2 deletions

View File

@ -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 {