Skip to content

Commit 99df362

Browse files
authored
Remove unused th_z
1 parent 501a5cc commit 99df362

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pythainlp/util/thai_lunar_date.py

-6
Original file line numberDiff line numberDiff line change
@@ -857,9 +857,6 @@ def to_lunar_date(input_date: date) -> str:
857857
days_of_year -= 30
858858
if th_m > 12:
859859
th_m = th_m - 12
860-
th_z = 1
861-
else:
862-
th_z = 0
863860
if days_of_year > 15:
864861
th_s = "แรม "
865862
days_of_year = days_of_year - 15
@@ -947,9 +944,6 @@ def to_lunar_date(input_date: date) -> str:
947944
days_of_year -= 30
948945
if th_m > 13:
949946
th_m = th_m - 13
950-
th_z = 1
951-
else:
952-
th_z = 0
953947
if th_m == 9:
954948
th_m = 8
955949
elif th_m == 10:

0 commit comments

Comments
 (0)