Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

changed date formatting

Mish Ushakovfa84b8278ed1
diff --git a/apps/web/src/components/Dashboard/Keys.tsx b/apps/web/src/components/Dashboard/Keys.tsx
index 8db103ca0..95fecbcbd 100644
--- a/apps/web/src/components/Dashboard/Keys.tsx
+++ b/apps/web/src/components/Dashboard/Keys.tsx
@@ -251,9 +251,7 @@ export const KeysContent = ({
</TableCell>
<TableCell>{apiKey.createdBy?.email}</TableCell>
<TableCell>
- {new Date(apiKey.createdAt).toLocaleString('en-UK', {
- timeZoneName: 'short',
- })}
+ {new Date(apiKey.createdAt).toLocaleString()}
</TableCell>
<TableCell>
<DropdownMenu>
diff --git a/apps/web/src/components/Dashboard/Sandboxes.tsx b/apps/web/src/components/Dashboard/Sandboxes.tsx
index 4ba410f9a..b57f5a23b 100644
--- a/apps/web/src/components/Dashboard/Sandboxes.tsx
+++ b/apps/web/src/components/Dashboard/Sandboxes.tsx
@@ -78,14 +78,10 @@ export function SandboxesContent({ team }: { team: Team }) {
<TableCell>{sandbox.templateID}</TableCell>
<TableCell>{sandbox.alias}</TableCell>
<TableCell>
- {new Date(sandbox.startedAt).toLocaleString('en-UK', {
- timeZoneName: 'short',
- })}
+ {new Date(sandbox.startedAt).toLocaleString()}
</TableCell>
<TableCell>
- {new Date(sandbox.endAt).toLocaleString('en-UK', {
- timeZoneName: 'short',
- })}
+ {new Date(sandbox.endAt).toLocaleString()}
</TableCell>
<TableCell>{sandbox.cpuCount}</TableCell>
<TableCell>{sandbox.memoryMB}</TableCell>