diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions/Utils/KeyStageDataStatusHelper.cs b/Dfe.PrepareConversions/Dfe.PrepareConversions/Utils/KeyStageDataStatusHelper.cs index ece66bc99..2a0ed367a 100644 --- a/Dfe.PrepareConversions/Dfe.PrepareConversions/Utils/KeyStageDataStatusHelper.cs +++ b/Dfe.PrepareConversions/Dfe.PrepareConversions/Utils/KeyStageDataStatusHelper.cs @@ -50,7 +50,7 @@ public static string KeyStage4DataTag(DateTime date) public static string DetermineKeyStageDataStatus(DateTime date, KeyStages keyStage) { bool isItCurrentOrLastAcademicYear = - (date.Month >= 9 && date.Year == DateTime.Now.Year) || + (date.Year == DateTime.Now.Year) || (date.Month < 9 && date.Year == DateTime.Now.Year - 1) || (date.Month >= 9 && date.Year == DateTime.Now.Year - 2); StatusType statusType = isItCurrentOrLastAcademicYear ? DetermineStatusType(date, keyStage) : StatusType.Final;