Fix time until component round for week interval. (#679)
* Fix time until component round for week interval. * Add forceFloorOnTimeIntervals parameter.
This commit is contained in:
1 parent
0293ba4a52
commit
a0559cbb24
3 files changed
+6
-5
No files matched your search
@@ -21,7 +21,7 @@
|
||||
<app-time-until [time]="(1 * i) + now + 61000" [fastRender]="false" [fixedRender]="true"></app-time-until>
|
||||
</ng-template>
|
||||
<ng-template #timeDiffMainnet>
|
||||
<app-time-until [time]="(timeAvg * i) + now + timeAvg" [fastRender]="false" [fixedRender]="true"></app-time-until>
|
||||
<app-time-until [time]="(timeAvg * i) + now + timeAvg" [fastRender]="false" [fixedRender]="true" [forceFloorOnTimeIntervals]="['hour']"></app-time-until>
|
||||
</ng-template>
|
||||
</div>
|
||||
<ng-template #mergedBlock>
|
||||
|
||||
Reference in new issue
Block a user