import{r as s,h as t,H as i}from"./p-9f21f85f.js";import{h as e}from"./p-42939000.js";import{a as r}from"./p-825ab276.js";import"./p-105f7627.js";const a=class{constructor(t){s(this,t)}render(){let s=this.value;this.field.dateDataType===r.ISO?s=new Date(this.value):this.field.dateDataType===r.Unix&&(s=new Date(1e3*this.value));let a="";return this.value&&(a=this.meta.timeZone?e(s).tz(this.meta.timeZone).format(this.field.dateFormat):e(s).format(this.field.dateFormat)),t(i,null,a)}};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}