Files
baserow/web-frontend/modules/database/components/formula/array/FunctionalFormulaDateArrayItem.vue
T
2021-11-24 10:53:00 +00:00

19 lines
503 B
Vue

<template functional>
<div class="array-field__date">
<div>
{{ $options.methods.getDate(props.field, props.value) }}
</div>
<div v-if="props.field.date_include_time" class="array-field__time">
{{ $options.methods.getTime(props.field, props.value) }}
</div>
</div>
</template>
<script>
import readOnlyDateField from '@baserow/modules/database/mixins/readOnlyDateField'
export default {
name: 'FunctionalFormulaDateArrayItem',
mixins: [readOnlyDateField],
}
</script>