Path: blob/master/node_modules/@bochilteam/scraper/lib/esm/primbons/zodiac.js
1126 views
export default function getZodiac(months, dates) {1var _a;2// https://github.com/Nurutomo/wabot-aq/blob/master/plugins/zodiac.js3const d = new Date(1970, months - 1, dates + 1);4// https://www.primbon.com/zodiak.htm5const zodiac = [6['capricorn', new Date(1970, 0, 21)],7['aquarius', new Date(1970, 1, 20)],8['pisces', new Date(1970, 2, 21)],9['aries', new Date(1970, 3, 20)],10['taurus', new Date(1970, 4, 21)],11['gemini', new Date(1970, 5, 22)],12['cancer', new Date(1970, 6, 23)],13['leo', new Date(1970, 7, 24)],14['virgo', new Date(1970, 8, 23)],15['libra', new Date(1970, 9, 24)],16['scorpio', new Date(1970, 10, 23)],17['sagitarius', new Date(1970, 11, 22)] // SAGITARIUS (23 November - 21 Desember)18];19return (_a = zodiac.find(([_, _d]) => _d >= d)) === null || _a === void 0 ? void 0 : _a[0];20}21//# sourceMappingURL=zodiac.js.map2223