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