// tmp-babel/messages/web/MessagesList/MessagesGroup/utils.js
import { DATE_FORMAT, formatDateFromApi, isToday, isYesterday } from "@baseapp-frontend/utils";
var displayFormattedDate = function displayFormattedDate2(date) {
  if (isToday(date)) return "Today";
  if (isYesterday(date)) return "Yesterday";
  return formatDateFromApi(date, {
    toFormat: DATE_FORMAT[2]
  });
};

export {
  displayFormattedDate
};
//# sourceMappingURL=chunk-4MPHGCGT.mjs.map