Skip to content
Snippets Groups Projects
Commit 424b92a9 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

add min to the hour of the actual block

parent 9e5705f9
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</nuxt-link> </nuxt-link>
<div class="d-flex text-info justify-content-between align-items-baseline mt-3 mx-2"> <div class="d-flex text-info justify-content-between align-items-baseline mt-3 mx-2">
<div class="">v0.02</div> <div class="">v0.02</div>
<div class="small" v-if="countMax">Bloc n°<span class="font-weight-bold">{{ countMax.number }}</span> ({{ $d(new Date(countMax.utc0*1000), 'short') }} {{ $t('time.a') }} {{ $d(new Date(countMax.utc0*1000), 'hour') }})</div> <div class="small" v-if="countMax">Bloc n°<span class="font-weight-bold">{{ countMax.number }}</span> ({{ $d(new Date(countMax.utc0*1000), 'short') }} {{ $t('time.a') }} {{ $d(new Date(countMax.utc0*1000), 'hour') }}{{ $d(new Date(countMax.utc0*1000), 'min') }})</div>
</div> </div>
<button type="button" class="close position-absolute d-xl-none" aria-label="Close" @click="toggleMenu"> <button type="button" class="close position-absolute d-xl-none" aria-label="Close" @click="toggleMenu">
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
......
...@@ -12,6 +12,9 @@ export const dateTimeFormats = { ...@@ -12,6 +12,9 @@ export const dateTimeFormats = {
}, },
hour: { hour: {
hour: 'numeric' hour: 'numeric'
},
min: {
minute: '2-digit'
} }
}, },
'en': { 'en': {
...@@ -27,6 +30,9 @@ export const dateTimeFormats = { ...@@ -27,6 +30,9 @@ export const dateTimeFormats = {
}, },
hour: { hour: {
hour: 'numeric' hour: 'numeric'
},
min: {
minute: '2-digit'
} }
}, },
'es': { 'es': {
...@@ -42,6 +48,9 @@ export const dateTimeFormats = { ...@@ -42,6 +48,9 @@ export const dateTimeFormats = {
}, },
hour: { hour: {
hour: 'numeric' hour: 'numeric'
},
min: {
minute: '2-digit'
} }
} }
} }
\ No newline at end of file
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
"breadcrumb": "Parameters", "breadcrumb": "Parameters",
"name": { "name": {
"avgGenTime": "The average time for writing 1 block (wished time)", "avgGenTime": "The average time for writing 1 block (wished time)",
"c": "The relative growth of the UD every [dtReeval] period", "c": "The relative growth of the UD every <code>dtReeval</code> period",
"dt": "Time period between two UD", "dt": "Time period between two UD",
"dtDiffEval": "The number of blocks required to evaluate again PoWMin value", "dtDiffEval": "The number of blocks required to evaluate again PoWMin value",
"dtReeval": "Time period between two re-evaluation of the UD", "dtReeval": "Time period between two re-evaluation of the UD",
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
"sigStock": "Maximum quantity of active certifications made by member", "sigStock": "Maximum quantity of active certifications made by member",
"sigValidity": "Maximum age of an active certification", "sigValidity": "Maximum age of an active certification",
"sigWindow": "Maximum delay a certification can wait before being expired for non-writing", "sigWindow": "Maximum delay a certification can wait before being expired for non-writing",
"stepMax": "Maximum distance between a WOT member and [xpercent] of sentries", "stepMax": "Maximum distance between a WOT member and <code>xpercent</code> of sentries",
"txWindow": "Maximum delay a transaction can wait before being expired for non-writing", "txWindow": "Maximum delay a transaction can wait before being expired for non-writing",
"ud0": "UD(0), i.e. initial Universal Dividend", "ud0": "UD(0), i.e. initial Universal Dividend",
"udReevalTime0": "Time of first reevaluation of the UD", "udReevalTime0": "Time of first reevaluation of the UD",
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
"breadcrumb": "Parámetros", "breadcrumb": "Parámetros",
"name": { "name": {
"avgGenTime": "The average time for writing 1 block (wished time)", "avgGenTime": "The average time for writing 1 block (wished time)",
"c": "The relative growth of the UD every [dtReeval] period", "c": "The relative growth of the UD every <code>dtReeval</code> period",
"dt": "Time period between two UD", "dt": "Time period between two UD",
"dtDiffEval": "The number of blocks required to evaluate again PoWMin value", "dtDiffEval": "The number of blocks required to evaluate again PoWMin value",
"dtReeval": "Time period between two re-evaluation of the UD", "dtReeval": "Time period between two re-evaluation of the UD",
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
"sigStock": "Maximum quantity of active certifications made by member", "sigStock": "Maximum quantity of active certifications made by member",
"sigValidity": "Maximum age of an active certification", "sigValidity": "Maximum age of an active certification",
"sigWindow": "Maximum delay a certification can wait before being expired for non-writing", "sigWindow": "Maximum delay a certification can wait before being expired for non-writing",
"stepMax": "Maximum distance between a WOT member and [xpercent] of sentries", "stepMax": "Maximum distance between a WOT member and <code>xpercent</code> of sentries",
"txWindow": "Maximum delay a transaction can wait before being expired for non-writing", "txWindow": "Maximum delay a transaction can wait before being expired for non-writing",
"ud0": "UD(0), i.e. initial Universal Dividend", "ud0": "UD(0), i.e. initial Universal Dividend",
"udReevalTime0": "Time of first reevaluation of the UD", "udReevalTime0": "Time of first reevaluation of the UD",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment