Rocky_Mountain_Vending/.pnpm-store/v10/files/20/e32e20b07a467349c6af422c84bd929e9fb9202eabb095159effc8bb7af5744ffb83d0ca25c42a031d2885830d2de61387740e1bf8405f0aeb4579ded13bc4
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

31 lines
742 B
Text

"use strict";
exports.formatRelative = void 0;
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",
};
const formatRelative = (token, date, _baseDate, _options) => {
const format = formatRelativeLocale[token];
if (typeof format === "function") {
return format(date);
}
return format;
};
exports.formatRelative = formatRelative;