Nadeflore / watchface-web-editor

A web editor for huami bin watchfaces

Home Page:https://watchface-web-editor.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Days of the week do not work

gracified16 opened this issue · comments

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.

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
  }