"use strict";Object.defineProperty(exports, "__esModule", {value: true});// tmp-babel/__shared__/web/Timestamp/index.js
var _utils = require('@baseapp-frontend/utils');
var _material = require('@mui/material');
var _luxon = require('luxon');
var _jsxruntime = require('react/jsx-runtime');
var Timestamp = function Timestamp2(_ref) {
  var date = _ref.date;
  var dateTime = _luxon.DateTime.fromISO(date);
  var isToday = dateTime.hasSame(_luxon.DateTime.now(), "day");
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Typography, {
    variant: "caption",
    color: "text.secondary",
    display: "flex",
    alignItems: "center",
    children: [isToday ? "Today" : _utils.formatDate.call(void 0, dateTime, {
      toFormat: _utils.TIME_FORMAT[3]
    }), /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", {
      className: "mx-2 inline-block h-1 w-1 rounded-full bg-text-disabled"
    }), _utils.formatDate.call(void 0, dateTime, {
      toFormat: _utils.DATE_FORMAT[2]
    })]
  });
};
var Timestamp_default = Timestamp;



exports.Timestamp_default = Timestamp_default;
//# sourceMappingURL=chunk-GLOZC7GO.js.map