Nadeflore / watchface-web-editor

A web editor for huami bin watchfaces
https://watchface-web-editor.vercel.app
GNU General Public License v3.0
29 stars 2 forks source link

Days of the week do not work #4

Open gracified16 opened 1 year ago

gracified16 commented 1 year ago

Any code that seems to be related to the days of the week disappears for me, at least on this watch face after converting to gen 7. (https://amazfitwatchfaces.com/mi-band-6/view/4100) I attempted to fix it, but I have almost no coding experience so I've only been able to copy code and hope it works.

Nadeflore commented 11 months ago

Thank for your feedback. This watchface displays weekday using WeekDaysIcons which is not supported by the conveter.

The reason is not supported is because it's not commonly used and it allows each day image to be displayed in a different position, which can't be done as easily on the mi band 7

But in the watchface you provided each day is actually display at the same position, so you could technically add this in the Date block, and it should convert correctly.

  "ENWeekDays": {
        "X": 4,
        "Y": 314,
        "ImageIndex": 60,
        "ImagesCount": 7
  }