import{r as s,h as t,H as i}from"./p-9f21f85f.js";import{m as e}from"./p-65eb3f89.js";import{a as p}from"./p-825ab276.js";import"./p-814af281.js";import"./p-42939000.js";import"./p-105f7627.js";const r=class{constructor(t){s(this,t)}render(){let s=this.value;this.field.dateDataType===p.ISO?s=new Date(this.value):this.field.dateDataType===p.Unix&&(s=new Date(1e3*this.value));let r="";return this.value&&(r=this.meta.timeZone?e(s).tz(this.meta.timeZone).format(this.field.dateFormat):e(s).format(this.field.dateFormat)),t(i,null,r)}};r.style=".sc-dvn-field-display-cell-date-h{display:block;padding:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}";export{r as dvn_field_display_cell_date}