import{r as s,h as t,H as e}from"./p-a0569a5f.js";import{m as i}from"./p-ec46a4f4.js";import{a}from"./p-3b35e507.js";import"./p-814af281.js";import"./p-acad969c.js";import"./p-eebad85b.js";let p=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 p="";return this.value&&(p=this.meta.timeZone?i(s).tz(this.meta.timeZone).format(this.field.dateFormat):i(s).format(this.field.dateFormat)),t(e,null,p)}};p.style=".sc-dvn-field-display-cell-date-h{display:block;padding:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{p as dvn_field_display_cell_date}