Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix: ln invoice paid date
Browse files Browse the repository at this point in the history
  • Loading branch information
korhaliv committed Jun 12, 2019
1 parent fc0497b commit f62b18d
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions renderer/components/Request/RequestSummary.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -152,10 +152,23 @@ class RequestSummary extends React.Component {
left={<FormattedMessage {...messages.status} />} left={<FormattedMessage {...messages.status} />}
right={ right={
invoice.settled ? ( invoice.settled ? (
<Text color={getStatusColor()} fontWeight="normal"> <Text
color={getStatusColor()}
css={`
word-break: break-all;
text-transform: capitalize;
`}
fontWeight="normal"
textAlign="right"
>
<FormattedMessage {...messages.paid} /> <FormattedMessage {...messages.paid} />
{` `} <br />
<FormattedTime value={invoice.settle_date * 1000} /> <FormattedTime
day="2-digit"
month="long"
value={invoice.settle_date * 1000}
year="numeric"
/>
</Text> </Text>
) : ( ) : (
<> <>
Expand Down

0 comments on commit f62b18d

Please sign in to comment.