NightscoutFoundation / xDrip

Nightscout version of xDrip+
https://jamorham.github.io/#xdrip-plus
GNU General Public License v3.0
1.39k stars 1.14k forks source link

Miband 4 - Feature Request: European Formatted Date #1344

Closed Otter3eso57 closed 4 years ago

Otter3eso57 commented 4 years ago

@bigdigital could you add an option to show the date also in the european format. 5/19 (US) vs. 19.5 (EU)

It can easily be mixed up if you used to the other way and the date is e.g 05/04.

icaruswastaken commented 4 years ago

I tried to have this in my own watchface. Sadly it is only possible by adding the dots to the background image, resulting in a bigger filesize.

You can try mine if you like (dislaimer: use at your own risk). Unzip the archive. save the files in your phones xdrip-folder. In xDrip in MiBand Setting activate "use custom watchface" and set "image offset" to 160. This one is with ist NOT using the graph!

watchface watchface.zip

Edit: there are no dots in this preview because the background image is not in the bin, but seperatly added as my_image.png

Edit 2: Added RL-Preview preview

bigdigital commented 4 years ago

Yes, this is for what i've added the possibility to upload custom watchfaces. The same for https://github.com/NightscoutFoundation/xDrip/issues/1343 It is possible to create own design and use it. My main goal while designing custom watchfaces for xdrip was to reach the smallest possible file size to reduce uploading time. @icaruswastaken Your design looks cool :) . To display dot near the date, you can use a divider from the time field with a dot image resource. In such case there no need to add a dot to the bg and this significantly reduces watchface file size. Here is an example https://user-images.githubusercontent.com/4833779/82671745-0abda300-9c48-11ea-8e25-00ef1ff67810.gif

my_watchface.zip

icaruswastaken commented 4 years ago

Yeah! Didnt think of just using some unused graphic element. Thanks!

Otter3eso57 commented 4 years ago

Hello you two, Awesome, I think I can figure it out with the date thing. I just tried my modification with the Bluetooth indicator from #1343 (by the way: what is your thought about the automatic alarm for a lost connecton on the mi band?)

So basically to have the option to switch between the date format in the app we would need two more bin files:

Would you be willing to add this switch in the option menu into your next version? I would think a lot of users are more familiar with the European date. Not all are willing to try custom watchfaces.

Otter3eso57 commented 4 years ago

Now part of the new Miband integration beta ver 0.3 (25.08.2020). A huge thanks to @bigdigital