Rocky_Mountain_Vending/.pnpm-store/v10/files/c6/3adabeae73ac0d9732b69f862c2567c9011b5248b22df6da2f75f8ffa84e4be64705586d5a97503a2040f7caeeaaa1d3bdaf91d93b5ed6f97276951d65a4c1
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

27 lines
660 B
Text

const formatRelativeLocale = {
lastWeek: (date) => {
const day = date.getDay();
let result = "'läschte";
if (day === 2 || day === 4) {
// Eifeler Regel: Add an n before the consonant d; Here "Dënschdeg" "and Donneschde".
result += "n";
}
result += "' eeee 'um' p";
return result;
},
yesterday: "'gëschter um' p",
today: "'haut um' p",
tomorrow: "'moien um' p",
nextWeek: "eeee 'um' p",
other: "P",
};
export const formatRelative = (token, date, _baseDate, _options) => {
const format = formatRelativeLocale[token];
if (typeof format === "function") {
return format(date);
}
return format;
};