Rocky_Mountain_Vending/.pnpm-store/v10/files/7c/ca90875783463c895f7a142b2aba077d6a61417bb6a292f59288b0a0a96fd64582aff9586997b3eddb773e3261b740a3d11140e4030ebf1e87e482b51a2490
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

44 lines
973 B
Text

"use strict";
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: (date) => {
switch (date.getDay()) {
case 0:
return "'prošle nedelje u' p";
case 3:
return "'prošle srede u' p";
case 6:
return "'prošle subote u' p";
default:
return "'prošli' EEEE 'u' p";
}
},
yesterday: "'juče u' p",
today: "'danas u' p",
tomorrow: "'sutra u' p",
nextWeek: (date) => {
switch (date.getDay()) {
case 0:
return "'sledeće nedelje u' p";
case 3:
return "'sledeću sredu u' p";
case 6:
return "'sledeću subotu u' p";
default:
return "'sledeći' EEEE 'u' p";
}
},
other: "P",
};
const formatRelative = (token, date, _baseDate, _options) => {
const format = formatRelativeLocale[token];
if (typeof format === "function") {
return format(date);
}
return format;
};
exports.formatRelative = formatRelative;