Skip to content

Commit

Permalink
fix: lint issue in Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
drstrangelooker committed Nov 7, 2024
1 parent 8e847a0 commit 776e0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlin/src/main/com/looker/rtl/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ internal fun ZonedDateTime(utcDateTime: String): ZonedDateTime {
}

internal fun Date(utcDateTime: String): Date {
val utcFormat = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
val utcFormat = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US)
utcFormat.timeZone = TimeZone.getTimeZone("UTC")
return utcFormat.parse(utcDateTime)
}
Expand Down

0 comments on commit 776e0eb

Please sign in to comment.