Rocky_Mountain_Vending/.pnpm-store/v10/files/73/65c8308dad24f15d6a35288ab90597c5ecf782b11e1f3fb639967a532efbec554aacefb94576050ceaf6c88405932c86cf8d4188532c842a6f1836c681f918
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

14 lines
No EOL
594 B
Text

// Copyright (c) 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
export const isValid = (date) => {
return !isNaN(date.getTime());
};
export const toISO8601Compact = (date) => {
function leadZero(x) {
return (x > 9 ? '' : '0') + x;
}
return date.getFullYear() + leadZero(date.getMonth() + 1) + leadZero(date.getDate()) + 'T' +
leadZero(date.getHours()) + leadZero(date.getMinutes()) + leadZero(date.getSeconds());
};
//# sourceMappingURL=DateUtilities.js.map