We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a3e4e3 commit d10a582Copy full SHA for d10a582
lib/cldr.js
@@ -850,11 +850,11 @@ Cldr.prototype = {
850
);
851
const dayPeriodRules = xpath.select('dayPeriodRule', dayPeriodRulesNode);
852
853
- const dayPeriodRulesSelectNode = xpath.select(
+ const dayPeriodRulesSelectNode = xpath.select1(
854
"/supplementalData/dayPeriodRuleSet[@type='selection']" +
855
`/dayPeriodRules[@locales='${localeId}']`,
856
document,
857
- )[0];
+ );
858
const dayPeriodSelectsRules = xpath.select(
859
'dayPeriodRule',
860
dayPeriodRulesSelectNode,
0 commit comments