Skip to content

Commit ba1bea3

Browse files
authored
fix(date-time-converter): correct date format by RFC3339 in timezone conversion (#329)
1 parent a6c29eb commit ba1bea3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/date-time-converter/date-time-converter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function formatDateInTimezone(date: Date | undefined, timezone: string): string
218218
}
219219
220220
return withDefaultOnError(() => {
221-
return formatInTimeZone(date, timezone, 'yyyy-MM-dd HH:mm:ss XXX');
221+
return formatInTimeZone(date, timezone, 'yyyy-MM-dd\'T\'HH:mm:ssXXX');
222222
}, '');
223223
}
224224
</script>

0 commit comments

Comments
 (0)