add seconds
This commit is contained in:
parent
a89a915e7a
commit
a030b16471
1 changed files with 2 additions and 2 deletions
|
|
@ -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('')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue