{#if byline} {@render byline()} {:else} By {#if authors.length > 0} {#each authors as author, i} {author.trim()}{#if authors.length > 1 && i < authors.length - 2},{/if} {#if authors.length > 1 && i === authors.length - 2}and {/if} {/each} {:else} Reuters {/if} {/if}
{#if published}
{@render published()}
{:else if isValidDate(publishTime)}
Published {#if updateTime && isValidDate(updateTime)} {apdate(new Date(publishTime))} {:else} {apdate(new Date(publishTime))}  {formatTime( publishTime )} {/if}
{/if} {#if updated}
{@render updated()}
{:else if isValidDate(publishTime) && isValidDate(updateTime || '')}
Last updated {#if areSameDay(new Date(publishTime), new Date(updateTime || new Date()))} {formatTime(updateTime || '')} {:else} {apdate( new Date(updateTime || new Date()) )}  {formatTime(updateTime || '')} {/if}
{/if}