Replace leaflet with maplibre GL
This commit is contained in:
20
src/components/projectRelTime.vue
Normal file
20
src/components/projectRelTime.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
localTime: String,
|
||||
offset: String
|
||||
},
|
||||
inject: ['spot']
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span>
|
||||
{{ localTime.substr(-5) }}
|
||||
<sup
|
||||
v-if="iOffset != '0'"
|
||||
:title="offset+' '+spot.lang('unit_day')+' ('+localTime.substr(0, 5)+')'"
|
||||
|
||||
>{{ ' '+offset }}</sup>
|
||||
</span>
|
||||
</template>
|
||||
Reference in New Issue
Block a user