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>
15 lines
346 B
Text
15 lines
346 B
Text
"use strict";
|
|
exports.getFullYear = getFullYear;
|
|
var _index = require("../_lib/jalali.cjs");
|
|
|
|
/**
|
|
*
|
|
* @param cleanDate {Date}
|
|
* @returns {number}
|
|
*/
|
|
function getFullYear(cleanDate) {
|
|
const gd = cleanDate.getDate();
|
|
const gm = cleanDate.getMonth() + 1;
|
|
const gy = cleanDate.getFullYear();
|
|
return (0, _index.toJalali)(gy, gm, gd).jy;
|
|
}
|