16 lines
302 B
Vue
16 lines
302 B
Vue
<script>
|
|
export default {
|
|
props: {
|
|
localTime: String,
|
|
offset: String
|
|
},
|
|
inject: ['spot']
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<span>
|
|
{{ localTime.substr(-5) }}
|
|
<sup v-if="offset != '0'" :title="offset+' '+spot.lang('unit_day')+' ('+localTime.substr(0, 5)+')'">{{ ' '+offset }}</sup>
|
|
</span>
|
|
</template> |