diff --git a/src/routes/calculator/_resin.svelte b/src/routes/calculator/_resin.svelte index d9633edb..7f14bea5 100644 --- a/src/routes/calculator/_resin.svelte +++ b/src/routes/calculator/_resin.svelte @@ -120,11 +120,7 @@ />
{$t('calculator.resin.currentTime')}: - {#if $t('calculator.resin.timeFormat') === 'en'} - {currentTime.locale('en').format('dddd HH:mm:ss')} - {:else} - {currentTime.locale('id').format('dddd HH:mm:ss')} - {/if} + {currentTime.locale($t('calculator.resin.timeFormat')).format('dddd HH:mm:ss')}