Rocky_Mountain_Vending/.pnpm-store/v10/files/1b/00bfa4e650c910f4690a2cd42d36ed11f9bb682e3dce6270d8af1613c2c2a7654f7a8bc49999682b3d3a93a8bbfad7b3168c0f35f980f268a183d782b47c6c
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

48 lines
1.1 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: (date) => {
const day = date.getDay();
switch (day) {
case 0:
return "'прошле недеље у' p";
case 3:
return "'прошле среде у' p";
case 6:
return "'прошле суботе у' p";
default:
return "'прошли' EEEE 'у' p";
}
},
yesterday: "'јуче у' p",
today: "'данас у' p",
tomorrow: "'сутра у' p",
nextWeek: (date) => {
const day = date.getDay();
switch (day) {
case 0:
return "'следеће недеље у' p";
case 3:
return "'следећу среду у' p";
case 6:
return "'следећу суботу у' p";
default:
return "'следећи' EEEE 'у' 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;