mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-30 00:50:47 +03:00
fix(date-time-converter): correct date format by RFC3339 in timezone conversion (#329)
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user