fix(date-time-converter): correct date format by RFC3339 in timezone conversion (#329)

This commit is contained in:
Xinyu Kuo authored and GitHub committed 2026-03-04 15:24:03 +01:00
1 parent a6c29ebb3d
commit ba1bea3944
1 file changed
+1 -1
@@ -218,7 +218,7 @@ function formatDateInTimezone(date: Date | undefined, timezone: string): string
}
return withDefaultOnError(() => {
return formatInTimeZone(date, timezone, 'yyyy-MM-dd HH:mm:ss XXX');
return formatInTimeZone(date, timezone, 'yyyy-MM-dd\'T\'HH:mm:ssXXX');
}, '');
}
</script>