Rocky_Mountain_Vending/.pnpm-store/v10/files/50/9eb42588cc17640ce1fc145b8bf830a1489c307956bd5fce652787d4eeef18d32f44e15f1bebe137606cf93aadefad8a946975399b5b28136650597858da04
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

28 lines
713 B
Text

"use strict";
exports.ExtendedYearParser = void 0;
var _Parser = require("../Parser.cjs");
var _utils = require("../utils.cjs");
var _index = require("../../../_core/setFullYear.cjs");
class ExtendedYearParser extends _Parser.Parser {
priority = 130;
parse(dateString, token) {
if (token === "u") {
return (0, _utils.parseNDigitsSigned)(4, dateString);
}
return (0, _utils.parseNDigitsSigned)(token.length, dateString);
}
set(date, _flags, value) {
(0, _index.setFullYear)(date, value, 0, 1);
date.setHours(0, 0, 0, 0);
return date;
}
incompatibleTokens = ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"];
}
exports.ExtendedYearParser = ExtendedYearParser;