import { n as r } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
const a = {
  name: "DtRecipeTimePill",
  props: {
    /**
     * Date time display value
     */
    dateTimeDisplay: {
      type: String,
      required: !0
    },
    /**
     * Machine-readable attribute
     * Accepts a string value of YYYY-MM-DD or YYYY-MM-DDThh:mm:ssTZD
     */
    dateTime: {
      type: String,
      required: !0,
      validator: (t) => {
        const e = new Date(t);
        return e instanceof Date && !isNaN(e);
      }
    }
  }
};
var n = function() {
  var e = this, i = e._self._c;
  return i("time", { staticClass: "d-recipe-time-pill", attrs: { "data-qa": "dt-recipe-time-pill", dateTime: e.dateTime } }, [e._v(" " + e._s(e.dateTimeDisplay) + " ")]);
}, s = [], m = /* @__PURE__ */ r(
  a,
  n,
  s
);
const _ = m.exports;
export {
  _ as default
};
//# sourceMappingURL=time-pill.js.map
