thehale / BinaryClock

A nerdy way to tell time on Android/iOS 🕓
https://binaryclock.jhale.dev
Mozilla Public License 2.0
3 stars 1 forks source link

Add setting to show the time in different bases (e.g. octal, hex, ternary) #10

Open thehale opened 1 year ago

thehale commented 1 year ago

Requested via an email sent through the Google Play Store listing

The trick with this feature is adjusting the UI to display these alternate time formats nicely. Dot's, which can only represent 0 or 1, will not work in ternary or higher bases.

As a proposed idea, higher bases could simply show a digital clock, but with the numbers rendered in the requested mathematical base. For example:

12:09pm - Decimal
111:10pm - Ternary
14:11pm - Octal
C:09pm - Hex