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>
26 lines
No EOL
741 B
Text
26 lines
No EOL
741 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.utcHours = exports.default = void 0;
|
|
|
|
var _interval = _interopRequireDefault(require("./interval.js"));
|
|
|
|
var _duration = require("./duration.js");
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
var utcHour = (0, _interval.default)(function (date) {
|
|
date.setUTCMinutes(0, 0, 0);
|
|
}, function (date, step) {
|
|
date.setTime(+date + step * _duration.durationHour);
|
|
}, function (start, end) {
|
|
return (end - start) / _duration.durationHour;
|
|
}, function (date) {
|
|
return date.getUTCHours();
|
|
});
|
|
var _default = utcHour;
|
|
exports.default = _default;
|
|
var utcHours = utcHour.range;
|
|
exports.utcHours = utcHours; |