Skip to content

Commit

Permalink
fix bug not using farsi in primer&secondary
Browse files Browse the repository at this point in the history
  • Loading branch information
artemtech committed Aug 25, 2020
1 parent 974252f commit 6ad94dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multicalendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def create_month(self, m):
text_secondary = str(cal_secondary[w_idx][d_idx][2])
before = False
if text:
if self.options.use_farsi_day == "primer":
if self.options.use_farsi_day != "second":
text = to_farsi(text)
gdays.add(TextElement(**txt_atts)).text = text
if self.options.enable_secondary_date and text_secondary:
Expand Down

0 comments on commit 6ad94dc

Please sign in to comment.