0

The date format "MMM" on a Samsung Android 13 device works well for all months except September.

val df = SimpleDateFormat("MMM dd, yyyy")

// meet the Java API but throw an exception on SM Android 13
val date1: String = df.format(df.parse("Sep 11, 2001"))

// works on SM Android 13
val date2: String = df.format(df.parse("Sept 11, 2001"))

Here is the month format in a DatePicker control in SM-X700. All months are in "MMM" but September is "Sept". enter image description here

I only see this issue on Samsung Android 13. The Samsung Android 12 and Google Nexus Android 13 use "Sep" correctly. Is it an Samsung Android 13 bug?

Sean Shi
  • 1,289
  • 2
  • 9
  • 14

0 Answers0