import { r as registerInstance } from './core-8e73947d.js';

const SmoothlyDisplayDateTime = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
    }
    render() {
        const datetime = this.datetime.split("T");
        return [
            datetime[0],
            " ",
            datetime[1],
        ];
    }
    static get style() { return ".sc-smoothly-display-date-time-h{display:block}[hidden].sc-smoothly-display-date-time-h{display:none}"; }
};

export { SmoothlyDisplayDateTime as smoothly_display_date_time };
