Skip to content

Commit a093ae3

Browse files
authored
[DDW-747] Fix transaction localization (#2702)
* [DDW-747] fix: transaction localization * [DDW-747] Update Changelog * [DDW-747] Update Changelog
1 parent daa63d5 commit a093ae3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## vNext
4+
5+
### Fixes
6+
7+
- Fixed transaction timestamps localization ([PR 2702](https://github.com/input-output-hk/daedalus/pull/2702))
8+
39
## 4.4.0
410

511
### Features

source/renderer/app/components/wallet/transactions/Transaction.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,9 @@ export default class Transaction extends Component<Props, State> {
576576
<div className={styles.details}>
577577
<div className={styles.type}>
578578
{intl.formatMessage(messages.type, { typeOfTransaction })},{' '}
579-
{moment(data.date).format(currentTimeFormat)}
579+
{moment(data.date)
580+
.locale(intl.locale)
581+
.format(currentTimeFormat)}
580582
</div>
581583
{this.renderTxnStateTag()}
582584
</div>

0 commit comments

Comments
 (0)