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

Fix #500: Some 曆法 functions return invalid result #503

Merged
merged 1 commit into from
Jan 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/曆法.wy
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
今有一術。名之曰「言彼之時刻」。欲行是術。必先得一數。曰「時」。乃行是術曰。
施「時差」於「時」。加其於「時」。名之曰「甲」。
夫「甲」。夫八萬六千四百。取二以施「取底除」。名之曰「乙」。
夫「乙」之「「餘」」。取一以施「言時刻」。乃得矣。
夫「乙」之「「餘」」。取一以施「取底」。取一以施「言時刻」。乃得矣。
是謂「言彼之時刻」之術也。

注曰「「彼年何年號。同Javascript之"西元" for modern dates也。」」
Expand Down Expand Up @@ -349,7 +349,7 @@
今有一術。名之曰「彼秒何秒」。欲行是術。必先得一數。曰「時」。乃行是術曰。
施「時差」於「時」。加其於「時」。名之曰「甲」。
夫「甲」。夫六十。取二以施「取底除」。
取一以施「取底」。乃得矣。
夫其之「「餘」」。取一以施「取底」。乃得矣。
是謂「彼秒何秒」之術也。

吾有一術。名之曰「月積何日」。欲行是術。必先得一數。曰「積月」。乃行是術曰。
Expand Down