{#if isLoading} {:else} {#if dataAge}

Updated: {dataAge.toLocaleTimeString()}

{#if services.length} {#each services as service} {/each}
From To Plat. Sch Arr. Exp Arr. Sch Dep. Exp Dep.
{service.origin?.location?.locationName || ''} {service.destination?.location?.locationName || ''} {service.platform || '-'} {parseTime(service.sta).data} {parseTime(service.eta).data} {parseTime(service.std).data} {parseTime(service.etd).data}

A {service.operator || 'Unknown'} service {#if service['length']} with {service['length'] || 'some'} coaches {/if}

{#if service.delayReason}

{service.delayReason}

{/if} {#if service.cancelReason}

{service.cancelReason}

{/if}
{:else}

No Scheduled Train Services

{/if} {#if busServices.length}
Bus services
Bus Services {#each busServices as service} {/each}
From To Sch Arr. Exp Arr. Sch Dep. Exp Dep.
{service.origin?.location?.locationName || ''} {service.destination?.location?.locationName || ''} {parseTime(service.sta).data} {parseTime(service.eta).data} {parseTime(service.std).data} {parseTime(service.etd).data}

A {service.operator || 'Unknown'} service

{#if service.delayReason}

{service.delayReason}

{/if} {#if service.cancelReason}

{service.cancelReason}

{/if}
{/if} {#if ferryServices.length}
Bus services
Ferry Services {#each ferryServices as service} {/each}
From To Sch Arr. Exp Arr. Sch Dep. Exp Dep.
{service.origin?.location?.locationName || ''} {service.destination?.location?.locationName || ''} {parseTime(service.sta).data} {parseTime(service.eta).data} {parseTime(service.std).data} {parseTime(service.etd).data}
{#if service.delayReason}

{service.delayReason}

{/if} {#if service.cancelReason}

{service.cancelReason}

{/if}
{/if} {:else}

Unable to find this station

{/if} {/if}