79759223

Date: 2025-09-08 18:17:04
Score: 1.5
Natty:
Report link

RememberDatePickerState crashes with kotlinx-datetime:0.7.1 because Compose Multiplatform Material3 still depends on an older unshaded version of kotlinx-datetime, so mixing in zero.7.X reasons runtime conflicts on Desktop/iOS. The safe workaround these days is to stay with kotlinx-datetime:0.6.X until Compose updates its dependency. You can still convert selectedDateMillis to a readable string manually the usage of platform-specific formatters (count on/real with SimpleDateFormat on Android and NSDateFormatter on iOS).

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tejasmita