Skip to content

Commit

Permalink
[Hotfix] Fix the Chinese characters in the code (#2784)
Browse files Browse the repository at this point in the history
* Translate to "1461"

* Convert Chinese characters to Int
  • Loading branch information
jiamin13579 authored Apr 25, 2024
1 parent 3822a0f commit 5bca243
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -958,8 +958,8 @@ private static int julianExtract(TimeUnitRange range, int julian) {
int j = julian + 32044;
int g = j / 146097;
int dg = j % 146097;
int c = (dg / '躬' + 1) * 3 / 4;
int dc = dg - c * '躬';
int c = (dg / 36524 + 1) * 3 / 4;
int dc = dg - c * 36524;
int b = dc / 1461;
int db = dc % 1461;
int a = (db / 365 + 1) * 3 / 4;
Expand Down

0 comments on commit 5bca243

Please sign in to comment.