{#if $velocityUnits === 'speed'} {#if $distanceUnits === 'imperial'} {i18n._('units.miles_per_hour')} {:else if $distanceUnits === 'metric'} {i18n._('units.kilometers_per_hour')} {:else if $distanceUnits === 'nautical'} {i18n._('units.knots')} {/if} {:else} {#if $distanceUnits === 'imperial'} {i18n._('units.minutes_per_mile')} {:else if $distanceUnits === 'metric'} {i18n._('units.minutes_per_kilometer')} {:else if $distanceUnits === 'nautical'} {i18n._('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} {i18n._('toolbar.time.help')} {:else} {i18n._('toolbar.time.help_invalid_selection')} {/if}