Skip to content

Commit

Permalink
Update: updated Shan's years number due to miss calculated
Browse files Browse the repository at this point in the history
  • Loading branch information
NoerNova committed Oct 9, 2024
1 parent 116ac6a commit bb19c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shannlp/util/date.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def convert_years(year: str, src="mo", target="ad") -> str:
if target == "ad":
output_year = str(int(year) - 543)
elif target == "mo":
output_year = str(int(year) - 449)
output_year = str(int(year) - 448)
elif target == "ga":
output_year = str(int(year) - 1181)
elif src == "ad":
Expand All @@ -120,7 +120,7 @@ def convert_years(year: str, src="mo", target="ad") -> str:
if target == "ad":
output_year = str(int(year) - 94)
elif target == "be":
output_year = str(int(year) + 449)
output_year = str(int(year) + 448)
elif target == "ga":
output_year = str(int(year) - 732)
elif src == "ga":
Expand Down

0 comments on commit bb19c5e

Please sign in to comment.