Initial commit

This commit is contained in:
Developer
2025-04-21 16:03:20 +02:00
commit 2832896157
22874 changed files with 3092801 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<template>
<panel-item :field="field">
<template slot="value">
<p v-if="field.value" class="text-90">{{ localizedDateTime }}</p>
<p v-else>&mdash;</p>
</template>
</panel-item>
</template>
<script>
import { InteractsWithDates } from 'laravel-nova'
export default {
mixins: [InteractsWithDates],
props: ['resource', 'resourceName', 'resourceId', 'field'],
computed: {
/**
* Get the localized date time.
*/
localizedDateTime() {
return this.localizeDateTimeField(this.field)
},
},
}
</script>