hours should be modulo 24, fix #7342

This commit is contained in:
Sebastian 2022-09-12 14:32:45 -03:00
parent ad63d4c0e1
commit 58211515d2
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ function TransactionLayout(props: TransactionLayoutProps): VNode {
</LightText> </LightText>
)} )}
<SmallLightText style={{ marginTop: 5 }}> <SmallLightText style={{ marginTop: 5 }}>
<Time timestamp={props.timestamp} format="hh:mm" /> <Time timestamp={props.timestamp} format="HH:mm" />
</SmallLightText> </SmallLightText>
</Column> </Column>
<TransactionAmount <TransactionAmount

View File

@ -288,7 +288,7 @@ export function View({
{o.type}{" "} {o.type}{" "}
<Time <Time
timestamp={o.timestampDue} timestamp={o.timestampDue}
format="yy/MM/dd hh:mm:ss" format="yy/MM/dd HH:mm:ss"
/> />
</dt> </dt>
<dd> <dd>