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

勾选农历的时候自动换算日期 #8

Open
xuefer opened this issue Dec 5, 2016 · 0 comments
Open

勾选农历的时候自动换算日期 #8

xuefer opened this issue Dec 5, 2016 · 0 comments

Comments

@xuefer
Copy link
Contributor

xuefer commented Dec 5, 2016

  1. 月-日 一个设置, 年一个设置, 共两个 (跟实际保存格式无关)
  2. 年份可以设置为 Unknown/未知 (也可以不支持这个功能)
  3. 不勾选变为勾选农历的时候, 把日期当做阳历 转化成农历, 并且将月份/日期(必要的时候包括年)设置进行换算并更新设置值. 如果年份未输入则假设是本年. 特殊情况是: 如果没设置年份, 变更之后变成了不是本年... 不处理
  4. 勾选变为不勾选农历的时候, 与 3 相反. 如果年份未输入则假设是本年
  5. 其中 3|4 有必要的话可以在自动转换日期的时候提问用户是否要转换
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

1 participant