Skip to content

Commit

Permalink
Merge branch 'stable' into release-10.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Dec 3, 2024
2 parents 02bda18 + 35c4774 commit 81c4f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/services/taskmanager/CronUtil.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ component displayName="Cron util" {
return "disabled";
}

var locale = CreateObject( "java", "java.util.Locale" ).of( UCase( ListFirst( arguments.locale, "-" ) ) );
var locale = CreateObject( "java", "java.util.Locale" ).forLanguageTag( UCase( ListFirst( arguments.locale, "-" ) ) );
var cronObj = _getCrontabExpressionObject( arguments.crontabExpression );
var descriptor = CreateObject( "java", "com.cronutils.descriptor.CronDescriptor", _getLib() ).instance( locale );

Expand Down

0 comments on commit 81c4f82

Please sign in to comment.