Skip to content

Commit

Permalink
Add curly braces around the nested statement for the if block
Browse files Browse the repository at this point in the history
  • Loading branch information
armanatory committed Oct 1, 2023
1 parent 63a5db4 commit 2733d93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PersianTools.Core/PersianTools.Core/HijriCalendarManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,10 @@ internal static HijriCalendar SetHijriCalendar(DateTime datetime)
month = hijri.GetMonth(datetime);
}
else if (month == 3 || month == 6 || month == 7 || month == 9 || month == 10)
{
hijri.HijriAdjustment = -2;

}


break;

Expand Down

0 comments on commit 2733d93

Please sign in to comment.