Rocky_Mountain_Vending/.pnpm-store/v10/files/c0/7511733c9224161a35d10f605bd1e11bf71e5ad2e90e24173675b488f79a7f3a6e7f05133959e255b9d2c6f27f6bce14cc966b1becc363b514f278f3884db5
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
983 B
Text

"use strict";
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: (date) => {
switch (date.getDay()) {
case 0:
return "'prošle nedjelje u' p";
case 3:
return "'prošle srijede 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 "'sljedeće nedjelje u' p";
case 3:
return "'sljedeću srijedu u' p";
case 6:
return "'sljedeću subotu u' p";
default:
return "'sljedeć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;