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>
18 lines
431 B
Text
18 lines
431 B
Text
import { constructFrom } from "../../../constructFrom.js";
|
|
import { Parser } from "../Parser.js";
|
|
|
|
import { parseAnyDigitsSigned } from "../utils.js";
|
|
|
|
export class TimestampMillisecondsParser extends Parser {
|
|
priority = 20;
|
|
|
|
parse(dateString) {
|
|
return parseAnyDigitsSigned(dateString);
|
|
}
|
|
|
|
set(date, _flags, value) {
|
|
return [constructFrom(date, value), { timestampIsSet: true }];
|
|
}
|
|
|
|
incompatibleTokens = "*";
|
|
}
|