Use hours for daily drop gear

This commit is contained in:
Matt Isenhower
2024-11-22 13:44:01 -08:00
parent 8dd2246490
commit be2ff7bac6

View File

@@ -9,7 +9,7 @@
<div class="grow min-w-0 flex flex-col justify-evenly space-y-2">
<div class="flex">
<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>
@@ -95,7 +95,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({