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

可以支持农历格式吗 #68

Open
chenny opened this issue May 14, 2020 · 1 comment
Open

可以支持农历格式吗 #68

chenny opened this issue May 14, 2020 · 1 comment

Comments

@chenny
Copy link

chenny commented May 14, 2020

可以支持农历格式吗

@weijiatan456
Copy link

weijiatan456 commented Jul 15, 2021

农历可以引入calendar.js,再使用公历转农历: https://github.com/jjonline/calendar.js,

import CALENDAR from './calendar.js'
export const getlunar = (year, month, date) => {
    return CALENDAR.solar2lunar(year, month, date)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants