webapp: format seconds correctly
This commit is contained in:
parent
dc3bbd4dba
commit
9f86698dfc
@ -45,7 +45,7 @@
|
||||
}} W | </template>{{ $n(inverter.limit_relative / 100, 'percent') }}
|
||||
</div>
|
||||
<div style="padding-right: 2em;">
|
||||
{{ $t('home.DataAge') }} {{ $t('home.Seconds', {'val': inverter.data_age }) }}
|
||||
{{ $t('home.DataAge') }} {{ $t('home.Seconds', {'val': $n(inverter.data_age) }) }}
|
||||
<template v-if="inverter.data_age > 300">
|
||||
/ {{ calculateAbsoluteTime(inverter.data_age) }}
|
||||
</template>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user