We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
謝謝你的努力,如有轉換陰曆日子的功能,我就可免掉自行轉換了.
The text was updated successfully, but these errors were encountered:
不好意思 , 暂时没有, 通过配置也不太好做转换, 原因如下: 20 -> 二十 21 -> 廿一 两个 2 对应的中文不一至.
2
可以尝试二次转换吧, 参考一下:
function zhLunar(n){ var encode = Nzh.hk.encodeS; if(n<11) return "初"+encode(n); if(n>20) return encode(n).replace("二十","廿"); return encode(n); } for(var i=1; i<=30; i++){ console.log(zhLunar(i)); }
Sorry, something went wrong.
No branches or pull requests
謝謝你的努力,如有轉換陰曆日子的功能,我就可免掉自行轉換了.
The text was updated successfully, but these errors were encountered: