import{r as s,h as e,H as t}from"./p-ec7718e6.js";import"./p-d66fb38c.js";import{a as i}from"./p-552063c3.js";import{h as a}from"./p-acad969c.js";const l=class{constructor(e){s(this,e)}render(){let s=this.value;return this.field.dateDataType===i.ISO?s=new Date(this.value):this.field.dateDataType===i.Unix&&(s=new Date(1e3*this.value)),e(t,null,this.value?a(s).format(this.field.dateFormat):"")}};l.style=".sc-dvn-field-display-cell-date-h{display:block;padding:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{l as dvn_field_display_cell_date}