From 8c665ca8fdbdf2664642cb7eebb7aca20c439360 Mon Sep 17 00:00:00 2001
From: Anu <anulithic@gmail.com>
Date: Sat, 15 Mar 2025 02:00:14 -0700
Subject: [PATCH] Don't say "in approximately no weeks"

---
 src/endWeek/saTakeClasses.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/endWeek/saTakeClasses.js b/src/endWeek/saTakeClasses.js
index b99fd4af180..95e221f2013 100644
--- a/src/endWeek/saTakeClasses.js
+++ b/src/endWeek/saTakeClasses.js
@@ -745,7 +745,7 @@ App.SlaveAssignment.takeClasses = function saTakeClasses(slave) {
 		}
 		if (tutorForSlave(slave)) {
 			const skill = slave.skill[tutorKeyToSkillKey(tutorForSlave(slave))];
-			r += ` ${He} is currently ${Math.round((skill / Constant.MASTERED_XP) * 100)}% through training and should be finished in approximately ${numberWithPluralOne(Math.round((Constant.MASTERED_XP - skill) / lessonSkillIncrease(slave)), "week")}.`;
+			r += ` ${He} is currently ${Math.round((skill / Constant.MASTERED_XP) * 100)}% through training and should be finished in approximately ${numberWithPluralOne(Math.ceil((Constant.MASTERED_XP - skill) / lessonSkillIncrease(slave)), "week")}.`;
 		}
 	}
 
-- 
GitLab