Skip to content

Commit

Permalink
Friendly Display of Date in Intransit Delivery Message Mail #549 (#1037)
Browse files Browse the repository at this point in the history
* Change react-intl-redux package

* Attempt to display friendly dates(#549)

* Clean PR
  • Loading branch information
KenjxJJ authored Jan 10, 2024
1 parent 231a2d0 commit 2b6d04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/app/controllers/webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ exports.updateWebhook = (req, res) => {
i18n.__('mail.webhook.payment.transfer.intransit.message', {
currency: CURRENCIES[event.data.object.currency],
amount: event.data.object.amount / 100,
date: date
date: moment(date).format('LLL')
})
)
return res.json(req.body)
Expand Down

0 comments on commit 2b6d04f

Please sign in to comment.