Always display gear times in hours

This commit is contained in:
Matt Isenhower 2024-11-22 12:06:47 -08:00
parent 330a299e3e
commit 9ecd9b2ae6

View File

@ -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({