Rocky_Mountain_Vending/.pnpm-store/v10/files/09/2e9883fa3594bcc753e4828ab34067b5ece1b6099f190feb22f11a2a4c2648156ba6aae27ea66487e48bda6371775e4d471050b8ad6188ed91c302780aee91
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

24 lines
573 B
Text

"use strict";
exports.hoursToSeconds = hoursToSeconds;
var _index = require("./constants.cjs");
/**
* @name hoursToSeconds
* @category Conversion Helpers
* @summary Convert hours to seconds.
*
* @description
* Convert a number of hours to a full number of seconds.
*
* @param hours - The number of hours to be converted
*
* @returns The number of hours converted in seconds
*
* @example
* // Convert 2 hours to seconds:
* const result = hoursToSeconds(2)
* //=> 7200
*/
function hoursToSeconds(hours) {
return Math.trunc(hours * _index.secondsInHour);
}