Skip to content

Commit

Permalink
Merge pull request #975 from UN-OCHA/IASC-800-RRule-wsod
Browse files Browse the repository at this point in the history
fix: specify locale when missing
  • Loading branch information
lazysoundsystem authored Aug 26, 2024
2 parents 5164802 + fc78f16 commit 8179b68
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ function iasc_common_design_preprocess_field(&$variables, $hook) {
$parser = new RRuleHumanReadable($rule);
$variables['human_readable'] = $parser->humanReadable([
'use_intl' => FALSE,
'locale' => 'en',
'explicit_inifite' => FALSE,
'dtstart' => FALSE,
'include_start' => FALSE,
Expand Down

0 comments on commit 8179b68

Please sign in to comment.