Skip to content

Commit

Permalink
Merge pull request #17 from curran/patch-1
Browse files Browse the repository at this point in the history
Fix typo "algorythm" --> "algorithm"
  • Loading branch information
catamphetamine committed Feb 17, 2019
2 parents c040e77 + cb8791a commit c6eba9b
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 c6eba9b

Please sign in to comment.