mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-01 02:51:29 +02:00
add seconds
This commit is contained in:
@ -724,12 +724,12 @@
|
|||||||
<script src="{{ url_for('cashu_static', path='js/base64.js') }}"></script>
|
<script src="{{ url_for('cashu_static', path='js/base64.js') }}"></script>
|
||||||
<script>
|
<script>
|
||||||
var currentDateStr = function () {
|
var currentDateStr = function () {
|
||||||
return Quasar.utils.date.formatDate(new Date(), 'YYYY-MM-DD HH:mm')
|
return Quasar.utils.date.formatDate(new Date(), 'YYYY-MM-DD HH:mm:ss')
|
||||||
}
|
}
|
||||||
var mapMint = function (obj) {
|
var mapMint = function (obj) {
|
||||||
obj.date = Quasar.utils.date.formatDate(
|
obj.date = Quasar.utils.date.formatDate(
|
||||||
new Date(obj.time * 1000),
|
new Date(obj.time * 1000),
|
||||||
'YYYY-MM-DD HH:mm'
|
'YYYY-MM-DD HH:mm:ss'
|
||||||
)
|
)
|
||||||
obj.fsat = new Intl.NumberFormat(LOCALE).format(obj.amount)
|
obj.fsat = new Intl.NumberFormat(LOCALE).format(obj.amount)
|
||||||
obj.cashu = ['/cashu/', obj.id].join('')
|
obj.cashu = ['/cashu/', obj.id].join('')
|
||||||
|
Reference in New Issue
Block a user