Skip to content

Commit

Permalink
use lowercase char
Browse files Browse the repository at this point in the history
  • Loading branch information
zaphod534 authored and Alessandro Celestino committed Oct 30, 2020
1 parent dc8c9b4 commit 4f482a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/utils/moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const localeKeys = {
it: 'it',
ja: 'ja',
nl: 'nl',
'es-ES': 'es-ES',
'zh-TW': 'zh-TW'
'es-ES': 'es-es',
'zh-TW': 'zh-tw'
};

export const toMomentLocale = locale => localeKeys[locale];

0 comments on commit 4f482a4

Please sign in to comment.