diff --git a/src/routes/calculator/_resinTable.svelte b/src/routes/calculator/_resinTable.svelte
index f1433ba3..38641b69 100644
--- a/src/routes/calculator/_resinTable.svelte
+++ b/src/routes/calculator/_resinTable.svelte
@@ -46,15 +46,9 @@
- {#if $t('calculator.resin.timeFormat') === 'en'}
{dayjs(new Date(stepTime[i + 1]))
- .locale('en')
+ .locale($t('calculator.resin.timeFormat'))
.fromNow()}
- {:else}
- {dayjs(new Date(stepTime[i + 1]))
- .locale('id')
- .fromNow()}
- {/if}
|
{/each}