<script>
export default {
	props: {
		localTime: String,
		offset: String
	},
	inject: ['spot']
}
</script>

<template>
	<span>
		<span>{{ localTime.substring(-5) }}</span>
		<sup v-if="offset != '0'" :title="offset+' '+spot.lang('unit_day')+' ('+localTime.substring(0, 5)+')'">{{ ' '+offset }}</sup>
		<span>&nbsp;{{ spot.lang('local_time', ' ').trim() }}</span>
	</span>
</template>