Files
716d43a9a8 Nuxt 3 migration (#4342)
Update the nuxt3 version.

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
Co-authored-by: Cezary <cezary@baserow.io>
Co-authored-by: Tsering Paljor <tsering@baserow.io>
Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io>
Co-authored-by: Bram <bram2w@users.noreply.github.com>
2026-01-22 10:27:19 +01:00

32 lines
640 B
Vue

<template>
<div class="card-text">
{{ getDate(field, value) }}
<template v-if="field.date_include_time">
{{ getTime(field, value) }}
</template>
<span v-if="field.date_show_tzinfo" class="color--tzinfo">
{{ getCellTimezoneAbbr(field, value) }}
</span>
</div>
</template>
<script>
import readOnlyDateField from '@baserow/modules/database/mixins/readOnlyDateField'
export default {
height: 16,
name: 'RowCardFieldDate',
mixins: [readOnlyDateField],
props: {
field: {
type: Object,
required: true,
},
value: {
type: null,
default: null,
},
},
}
</script>