Skip to content

Commit 629d277

Browse files
committed
Improve date representation
1 parent b75d54b commit 629d277

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

backend/frontend/src/components/TestRow.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function TestRow({ record, onOpen }: Props) {
2525
style={{
2626
borderRadius: 4,
2727
textAlign: 'center',
28-
fontSize: 13,
28+
fontSize: 18,
2929
...diffStyle(latestData.pixelError)
3030
}}
3131
>
@@ -38,7 +38,6 @@ export function TestRow({ record, onOpen }: Props) {
3838
<Table.Td>{timingDisplay(latestData.timing)}</Table.Td>
3939
<Table.Td>
4040
<Anchor
41-
size={'sm'}
4241
href={`https://github.com/OpenSpace/OpenSpace/commit/${latestData.commitHash}`}
4342
target={'_blank'}
4443
onClick={(e: React.MouseEvent) => e.stopPropagation()}
@@ -47,7 +46,8 @@ export function TestRow({ record, onOpen }: Props) {
4746
</Anchor>
4847
</Table.Td>
4948
<Table.Td>
50-
<Text size={'sm'}>{new Date(latestData.timeStamp).toISOString().replace('T', ' ').replace('Z', ' ')}</Text>
49+
<Text>{new Date(latestData.timeStamp).toISOString().split('T')[0]}<br />{new Date(latestData.timeStamp).toISOString().split('T')[1]?.replace('Z', '')}
50+
</Text>
5151
</Table.Td>
5252
<Table.Td style={{ width: ImageWidth }}>
5353
<ImageThumbnail

0 commit comments

Comments
 (0)