summaryrefslogtreecommitdiff
path: root/packages/demobank-ui/src/components/Transactions/views.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-01-13 14:59:11 -0300
committerSebastian <sebasjm@gmail.com>2023-01-13 14:59:11 -0300
commit42acac06aac7bdb34f9231b3b1ec0e8dfcab9821 (patch)
treeb5b3a655512fbf92ec7ba6dbf5e72cf51b978488 /packages/demobank-ui/src/components/Transactions/views.tsx
parenta31b8c3c3105d0ba11f2a1c513c6b6bec3ebeb49 (diff)
downloadwallet-core-42acac06aac7bdb34f9231b3b1ec0e8dfcab9821.tar.gz
wallet-core-42acac06aac7bdb34f9231b3b1ec0e8dfcab9821.tar.bz2
wallet-core-42acac06aac7bdb34f9231b3b1ec0e8dfcab9821.zip
fix: date parsing
Diffstat (limited to 'packages/demobank-ui/src/components/Transactions/views.tsx')
-rw-r--r--packages/demobank-ui/src/components/Transactions/views.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/components/Transactions/views.tsx b/packages/demobank-ui/src/components/Transactions/views.tsx
index 1822f9d94..dad352420 100644
--- a/packages/demobank-ui/src/components/Transactions/views.tsx
+++ b/packages/demobank-ui/src/components/Transactions/views.tsx
@@ -49,8 +49,8 @@ export function ReadyView({ transactions }: State.Ready): VNode {
<tr key={idx}>
<td>
{item.when.t_ms === "never"
- ? "never"
- : format(item.when.t_ms, "dd/MM/yyyy")}
+ ? ""
+ : format(item.when.t_ms, "dd/MM/yyyy HH:mm:ss")}
</td>
<td>
{item.negative ? "-" : ""}