fix: better date fromat
This commit is contained in:
parent
4578a4e746
commit
09331f6bbc
1 changed files with 1 additions and 4 deletions
|
|
@ -9,10 +9,7 @@ const locationPath = [
|
||||||
|
|
||||||
const mapPayLink = obj => {
|
const mapPayLink = obj => {
|
||||||
obj._data = _.clone(obj)
|
obj._data = _.clone(obj)
|
||||||
obj.date = Quasar.date.formatDate(
|
obj.date = LNbits.utils.formatDate(obj.time)
|
||||||
new Date(obj.time * 1000),
|
|
||||||
'YYYY-MM-DD HH:mm'
|
|
||||||
)
|
|
||||||
|
|
||||||
obj.amount = new Intl.NumberFormat(LOCALE).format(obj.amount)
|
obj.amount = new Intl.NumberFormat(LOCALE).format(obj.amount)
|
||||||
obj.print_url = [locationPath, 'print/', obj.id].join('')
|
obj.print_url = [locationPath, 'print/', obj.id].join('')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue