We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f785d commit c7eb4acCopy full SHA for c7eb4ac
js/towfiq.js
@@ -13,7 +13,7 @@ $(document).ready(function () {
13
monthOfExp = daysOfExp < 15 ? (monthOfExp + 1) : monthOfExp;
14
yearOfExp += monthOfExp/12;
15
monthOfExp = monthOfExp%12;
16
- var totalExperience = yearOfExp + "Y " + monthOfExp + "M ";
+ var totalExperience = parseInt(yearOfExp) + "Y " + monthOfExp + "M ";
17
$("#currentYear").html(currentYear);
18
$("#totalExperience").html(totalExperience);
19
0 commit comments