https://kotlinlang.org logo
Title
k

Klitos Kyriacou

08/10/2022, 10:44 AM
When I write
DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZ")
an IntelliJ inspection tells me I have a typo in "dd'T'" and in "SSSZ". Is there a way to turn this off? Ideally, IntelliJ ought to be intelligent enough to detect that this string is not written in English, but instead should check that it's a valid pattern for DateTimeFormatter.
r

Richard Gomez

08/11/2022, 2:41 AM
I'd recommend submitting this to YouTrack if it doesn't already exist. They're usually pretty responsive with tweaks or fixes.
k

Klitos Kyriacou

08/11/2022, 8:34 AM