Update erpnext/hr/doctype/shift_assignment/shift_assignment.py

Co-authored-by: Marica <maricadsouza221197@gmail.com>
diff --git a/erpnext/hr/doctype/shift_assignment/shift_assignment.py b/erpnext/hr/doctype/shift_assignment/shift_assignment.py
index f25d39b..f5bd0d0 100644
--- a/erpnext/hr/doctype/shift_assignment/shift_assignment.py
+++ b/erpnext/hr/doctype/shift_assignment/shift_assignment.py
@@ -16,7 +16,7 @@
 		self.validate_overlapping_dates()
 
 		if self.end_date and self.end_date <= self.start_date:
-			frappe.throw(_("End Date must not be greater than Start Date"))
+			frappe.throw(_("End Date must not be lesser than Start Date"))
 
 	def validate_overlapping_dates(self):
 		if not self.name: