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

New app: qlock #2879

Merged
merged 4 commits into from
Nov 24, 2024
Merged

New app: qlock #2879

merged 4 commits into from
Nov 24, 2024

Conversation

craigerskine
Copy link
Contributor

qlock - custom clock with time, binary, beats, and date; all with a custom font

screenshot

@tidbyt
Copy link

tidbyt bot commented Nov 13, 2024

⚠️ The automated review process is experimental and likely has bugs. Please bear with us as we iron out the kinks and enable you to ship changes at high velocity 🚀

Next Steps

Hello! Thank you so much for your change 🤜 🤛 . There are a few things you need to do:

  • Sign the CLA if you haven't already
  • Ensure your build is green! Any problem will display a proposed solution to try out
  • Get a review, either by Tidbyt Bot or by a Tidbyt engineer

Automated Review Successful

Magical robots have reviewed your change and it looks good to go! 🤖

Test Details
App Dir All files are in a single app directory
Modules Only safe modules, without side-effects, are loaded
Original Author The original author matches the PR author

tidbyt[bot]
tidbyt bot previously approved these changes Nov 13, 2024
@tidbyt-bot
Copy link

tidbyt-bot commented Nov 13, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@craigerskine
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@rohansingh rohansingh merged commit 1d63c7c into tidbyt:main Nov 24, 2024
2 checks passed
@danielsitnik
Copy link
Contributor

@craigerskine very cool clock!
But it's showing the time in UTC, instead of the user's location.

You can get the device's timezone with tz = config.str("$tz", "UTC").
And then convert the current time to it with now = time.time().in_location(tz).

Another nice addition would be to add a Schema option to allow the user to choose how the date should be displayed: "Month - Day" or "Day - Month". 😉

@craigerskine
Copy link
Contributor Author

@danielsitnik Thanks.

I used the official clock app example as a base to get the timezone. Maybe I did it wrong. I wish there was a way to push the app to the TidByt for testing. It works on my local dev.

@tidbyt tidbyt locked as resolved and limited conversation to collaborators Nov 27, 2024
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.

4 participants