Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[version]:获取运限四化,会包括生年四化 #200

Open
556isback opened this issue Aug 24, 2024 · 3 comments
Open

[version]:获取运限四化,会包括生年四化 #200

556isback opened this issue Aug 24, 2024 · 3 comments
Assignees
Labels
漏洞|bug Something isn't working

Comments

@556isback
Copy link

描述(Description)

使用hasHoroscopeMutage获取运限四化,会包括生年四化
有办法只获取运限四化吗

版本(Version)

2.4.3

重现(Reproduce)

const astrolabe = astro.astrolabeBySolarDate("2007-10-09", 5, "男", true, "zh-CN");
const flag = astrolabe
.horoscope('2024-08-25', 2)
.hasHoroscopeMutagen("迁移", "monthly", "忌");
console.log(flag)

  • 返回值(returns)

    true

@556isback 556isback added the 漏洞|bug Something isn't working label Aug 24, 2024
@SylarLong
Copy link
Owner

你好 @556isback
按照你提供的参数,该星盘在2024-08-25的流月迁移宫是存在化忌的哦,见下图

image

@556isback
Copy link
Author

556isback commented Aug 28, 2024

是我的配置出问题吗,跟文墨天机的不一样

const { astro } = require('.../node_modules/iztro');
const fs = require('fs');
astro.config({ yearDivide: "normal", horoscopeDivide: "normal" });
const birth = process.argv[2];
const targetDate = process.argv[3];
const name = process.argv[4];
const astrolabe = astro.astrolabeBySolarDate(birth, 5, "男", false, "zh-CN");

@SylarLong
Copy link
Owner

因为你没有提供文墨的截图,所以我不知道差异在哪哦 @556isback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
漏洞|bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants