You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MySqlSourceCdcTemporalConverter.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ class MySqlSourceCdcTemporalConverter : RelationalColumnCustomConverter {
183
183
if (it isZonedDateTime) {
184
184
if (serverTimezone !="UTC") {
185
185
val offsetDateTime =Instant.parse(it.toInstant().toString()).atZone(ZoneId.of(serverTimezone)).toLocalDateTime()
186
-
val formattedValue = offsetDateTime.format(DateTimeFormatter.ofPattern("yyyy-MM-ddHH:mm:ss.SSSSSS"))
186
+
val formattedValue = offsetDateTime.format(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSS"))
187
187
Converted(formattedValue)
188
188
}else {
189
189
val offsetDateTime:OffsetDateTime= it.toOffsetDateTime()
0 commit comments