Add second to wish counter list

This commit is contained in:
I Made Setia Baruna 2021-02-03 23:21:10 +08:00
parent f0f480c6da
commit aab75c177f
3 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,7 @@
export let className = '';
export let icon = null;
export let placeholder = '';
export let step = undefined;
export let type = 'text';
export let min = Math.min();
export let max = Math.max();
@ -30,6 +31,7 @@
{value}
{min}
{max}
{step}
on:change
on:input={handleInput}
class={`w-full ${icon ? 'pl-12' : 'pl-4'} min-h-full pr-4 text-white placeholder-gray-500 leading-none bg-transparent border-none focus:outline-none`} />

View file

@ -82,7 +82,7 @@
<CharacterSelect bind:selected={name} />
{/if}
<div class="h-4" />
<Input type="datetime-local" bind:value={time} />
<Input type="datetime-local" step="1" bind:value={time} />
<div class="h-4" />
<div class="flex items-center">
<p class="ml-4 mr-4">At Pity:</p>

View file

@ -281,7 +281,7 @@
}`}>{weaponList[pull.id].name}</td
>
{/if}
<td class="border-b border-gray-700 py-1 px-2">{dayjs.unix(pull.time).format('YYYY-MM-DD HH:mm')}</td>
<td class="border-b border-gray-700 text-xs py-1 px-2 whitespace-no-wrap">{dayjs.unix(pull.time).format('YYYY-MM-DD HH:mm:ss')}</td>
<td class="text-center border-b border-gray-700 py-1">{pull.pity}</td>
</tr>
{/each}