Skip to content
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

Use locale in clock tutorial #736

Merged
merged 2 commits into from
Sep 11, 2024
Merged

Use locale in clock tutorial #736

merged 2 commits into from
Sep 11, 2024

Conversation

atjn
Copy link
Contributor

@atjn atjn commented Sep 11, 2024

This rewrites the clock face tutorial to use the locale module instead of writing its own basic clock generator.

The new code also uses meridians correctly, which implements solution 4 in espruino/BangleApps#3534

@atjn atjn changed the title Use 'locale` in clock tutorial Use locale in clock tutorial Sep 11, 2024
@gfwilliams
Copy link
Member

Thanks!

@gfwilliams gfwilliams merged commit 1934e9d into espruino:master Sep 11, 2024
@gfwilliams
Copy link
Member

If you see any other stuff this (updating tutorials to suggest the newer/better way of doing things) it'd be great if you could do PRs, or even just bring it to my attention!

@atjn
Copy link
Contributor Author

atjn commented Sep 11, 2024

Sure, I will keep that in mind :)

@atjn atjn deleted the clock-locale branch September 11, 2024 12:19
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