export const getCurrentAcademicYear = () => {
  const now = new Date();
  const year = now.getFullYear();
  const month = now.getMonth(); // 0-11
  
  // If we are in June or later, the academic year is currentYear-(currentYear+1)
  // Otherwise, it's (currentYear-1)-currentYear
  if (month >= 5) { // June is index 5
    return `${year}-${(year + 1).toString().slice(-2)}`;
  } else {
    return `${year - 1}-${year.toString().slice(-2)}`;
  }
};
