Skip to content

cliock - using locale for internationalization #747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2021

Conversation

neshanjo
Copy link
Contributor

@neshanjo neshanjo commented May 25, 2021

Hi,

I discovered that the CLI clock did not show the correct info when using the German locale, so I fixed it by using the locale mechanism, see https://www.espruino.com/Bangle.js+Locale and #136

It should now also work with other languages. I tested with default (en_GB) and German language.

Cheers,
neshanjo

@gfwilliams
Copy link
Member

Great, thanks! This really tidies things up!

@gfwilliams gfwilliams merged commit 02b6a7c into espruino:master May 26, 2021
@neshanjo neshanjo deleted the cliock-locale branch May 26, 2021 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants