mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-03-21 17:54:13 -05:00
Always display gear times in hours
This commit is contained in:
parent
330a299e3e
commit
9ecd9b2ae6
|
|
@ -72,7 +72,7 @@
|
|||
</div>
|
||||
|
||||
<div class="inline-block text-xs bg-zinc-200 bg-opacity-30 rounded px-1 py-px font-semibold">
|
||||
{{ $t('time.left', { time: formatShortDurationFromNow(props.gear.saleEndTime) }) }}
|
||||
{{ $t('time.left', { time: formatDurationHoursFromNow(props.gear.saleEndTime) }) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
<script setup>
|
||||
import { computed } from 'vue';
|
||||
import SquidTape from '@/components/SquidTape.vue';
|
||||
import { formatShortDurationFromNow } from '@/common/time';
|
||||
import { formatDurationHoursFromNow } from '@/common/time';
|
||||
import { getGesotownGearUrl } from '@/common/links';
|
||||
|
||||
const props = defineProps({
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user