Skip to content

Commit

Permalink
CLDR-16835 Extended Submission Phase - bugfix
Browse files Browse the repository at this point in the history
- code was still using TC locale instead of extended locale for the phase test
  • Loading branch information
srl295 committed Jun 12, 2024
1 parent b90be94 commit ad7d408
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3604,9 +3604,9 @@ public static Phase getOverallSurveyPhase() {
* @returns the SurveyTool Phase for the locale
*/
public static Phase surveyPhase(CLDRLocale locale) {
return (SubmissionLocales.isTcLocale(locale)
? getOverallSurveyPhase()
: getOverallExtendedPhase());
return (SubmissionLocales.isOpenForExtendedSubmission(locale)
? getOverallExtendedPhase()
: getOverallSurveyPhase());
}

/**
Expand Down

0 comments on commit ad7d408

Please sign in to comment.