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