Skip to content

Commit

Permalink
fix(chronos): fixed chronos test for updated croatian locale
Browse files Browse the repository at this point in the history
  • Loading branch information
lexasq committed Oct 18, 2024
1 parent a795639 commit a9fe8e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/chronos/testing/locale/hr.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ describe('locale: hr', () => {
['a A', 'pm PM'],
['[the] DDDo [day of the year]', 'the 45. day of the year'],
['LTS', '15:25:50'],
['L', '14/02/2010'],
['L', '14.02.2010.'],
['LL', '14 Veljača 2010'],
['LLL', '14 Veljača 2010 15:25'],
['LLLL', 'Nedjelja, 14 Veljača 2010 15:25'],
['l', '14/2/2010'],
['l', '14.2.2010.'],
['ll', '14 Velj 2010'],
['lll', '14 Velj 2010 15:25'],
['llll', 'Ned, 14 Velj 2010 15:25']
Expand Down
2 changes: 1 addition & 1 deletion src/typeahead/typeahead-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export class TypeaheadContainerComponent implements OnDestroy {
`${itemStr.substring(0, startIdx)}<strong>${itemStr.substring(startIdx, startIdx + tokenLen)}</strong>` +
`${itemStr.substring(startIdx + tokenLen)}`;
itemStrHelper =
`${itemStrHelper.substring(0, startIdx)}?????????${'??'.repeat(tokenLen)}???????????` +
`${itemStrHelper.substring(0, startIdx)}????????${'??'.repeat(tokenLen)}??????????` +
`${itemStrHelper.substring(startIdx + tokenLen)}`;
}
}
Expand Down

0 comments on commit a9fe8e0

Please sign in to comment.