{#if $velocityUnits === 'speed'} {#if $distanceUnits === 'imperial'} {$_('units.miles_per_hour')} {:else if $distanceUnits === 'metric'} {$_('units.kilometers_per_hour')} {:else if $distanceUnits === 'nautical'} {$_('units.knots')} {/if} {:else} {#if $distanceUnits === 'imperial'} {$_('units.minutes_per_mile')} {:else if $distanceUnits === 'metric'} {$_('units.minutes_per_kilometer')} {:else if $distanceUnits === 'nautical'} {$_('units.minutes_per_nautical_mile')} {/if} {/if}
{ await tick(); updateEnd(); }} />
{ await tick(); updateStart(); }} />
{#if $gpxStatistics.global.time.moving === 0 || $gpxStatistics.global.time.moving === undefined}
{/if}
{#if canUpdate} {$_('toolbar.time.help')} {:else} {$_('toolbar.time.help_invalid_selection')} {/if}