Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

New API langToMomentJSLang #8

Merged
merged 1 commit into from
Sep 26, 2013
Merged

Conversation

alicoding
Copy link
Collaborator

This function langToMomentJSLang() will allow us to convert the given
language name to a supported moment.js language name
e.g. en-CA to en-ca - or th-TH to th

/* jshint -W100 */
module.exports = {
map: ['en', 'ar-ma', 'ar', 'bg', 'br', 'ca', 'cs', 'cv',
'da', 'de', 'el', 'en-ca', 'en-gb', 'eo', 'es', 'et',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd indenting here

@humphd
Copy link
Contributor

humphd commented Sep 26, 2013

A few issues in the PR. r=me with those fixed.

This function langToMomentJSLang() will allow us to convert the given
language name to a supported moment.js language name
e.g. 'en-CA' to 'en-ca' - or 'th-TH' to 'th'
@alicoding alicoding merged commit d5d85b2 into mozilla:master Sep 26, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants