Rocky_Mountain_Vending/.pnpm-store/v10/files/67/fd7462ef2b6753d862f89de9031bcd795cedddde97b3d14975bf93fb2c1979015bdfc48c9ad6fce65b6f87a4f5f2129cf7fb4311a5eb9e36fbe3f6cfe357af
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

35 lines
673 B
Text

"use strict";
exports.formatRelative = void 0;
const accusativeWeekdays = [
"neděli",
"pondělí",
"úterý",
"středu",
"čtvrtek",
"pátek",
"sobotu",
];
const formatRelativeLocale = {
lastWeek: "'poslední' eeee 've' p",
yesterday: "'včera v' p",
today: "'dnes v' p",
tomorrow: "'zítra v' p",
nextWeek: (date) => {
const day = date.getDay();
return "'v " + accusativeWeekdays[day] + " o' p";
},
other: "P",
};
const formatRelative = (token, date) => {
const format = formatRelativeLocale[token];
if (typeof format === "function") {
return format(date);
}
return format;
};
exports.formatRelative = formatRelative;