Skip to content

Commit

Permalink
Fix typo "algorythm" --> "algorithm"
Browse files Browse the repository at this point in the history
  • Loading branch information
curran committed Feb 16, 2019
1 parent c040e77 commit cb8791a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/locale.js
Expand Up @@ -13,7 +13,7 @@
//
export default function chooseLocale(locales, isLocaleDataAvailable)
{
// This is not an intelligent algorythm,
// This is not an intelligent algorithm,
// but it will do for this library's case.
// `sr-Cyrl-BA` -> `sr-Cyrl` -> `sr`.
for (let locale of locales) {
Expand Down Expand Up @@ -55,4 +55,4 @@ export function intlDateTimeFormatSupported() {
/* istanbul ignore next */
const isIntlAvailable = typeof Intl === 'object'
return isIntlAvailable && typeof Intl.DateTimeFormat === 'function'
}
}

0 comments on commit cb8791a

Please sign in to comment.