aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-09-12 14:32:45 -0300
committerSebastian <sebasjm@gmail.com>2022-09-12 14:32:45 -0300
commit58211515d2de641db16ffba119d31a09ef9df08e (patch)
treef13e3d0600add6c8c85c030ceef57e8ed5c6d403
parentad63d4c0e1ab249362e1f684ac9dbe5fae2ef34e (diff)
hours should be modulo 24, fix #7342
-rw-r--r--packages/taler-wallet-webextension/src/components/TransactionItem.tsx2
-rw-r--r--packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/components/TransactionItem.tsx b/packages/taler-wallet-webextension/src/components/TransactionItem.tsx
index b59d6fad1..840b01308 100644
--- a/packages/taler-wallet-webextension/src/components/TransactionItem.tsx
+++ b/packages/taler-wallet-webextension/src/components/TransactionItem.tsx
@@ -202,7 +202,7 @@ function TransactionLayout(props: TransactionLayoutProps): VNode {
</LightText>
)}
<SmallLightText style={{ marginTop: 5 }}>
- <Time timestamp={props.timestamp} format="hh:mm" />
+ <Time timestamp={props.timestamp} format="HH:mm" />
</SmallLightText>
</Column>
<TransactionAmount
diff --git a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
index 3406b04ef..c6f016e00 100644
--- a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
@@ -288,7 +288,7 @@ export function View({
{o.type}{" "}
<Time
timestamp={o.timestampDue}
- format="yy/MM/dd hh:mm:ss"
+ format="yy/MM/dd HH:mm:ss"
/>
</dt>
<dd>