RogerHuHu / siyuan-plugin-schedule-manager

MIT License
16 stars 7 forks source link

Remove undefined in the task boxes #48

Closed rishacha closed 3 months ago

rishacha commented 3 months ago

image

Is it possible to remove the undefined in the task box list for each day?

RogerHuHu commented 3 months ago

Could please describe your operations?

rishacha commented 3 months ago

I just installed the plugin and I see a lot of boxes showing up as undefined. Is it possible to remove them or add a better placeholder? undefined just looks ugly

RogerHuHu commented 3 months ago

Please show me the documents tree under the Schedule Manager Notebook notebook.

rishacha commented 3 months ago

image

rishacha commented 3 months ago

Any luck identifying the issue?

rishacha commented 3 months ago

I think this could be a cause -

https://github.com/RogerHuHu/siyuan-plugin-schedule-manager/blob/1166e4d621b48df67405402e71c44d7c95d061a3/src/components/Calendar.vue#L103C17-L126C18

RogerHuHu commented 3 months ago

I think this could be a cause -

https://github.com/RogerHuHu/siyuan-plugin-schedule-manager/blob/1166e4d621b48df67405402e71c44d7c95d061a3/src/components/Calendar.vue#L103C17-L126C18

Thank you, I tried it. Maybe my computer's system language is Chinese, so I can't reproduce your problem. I have added a switch to decide whether to display the Chinese lunar calendar. You can update the plugin version to see if it solves the problem. image

rishacha commented 3 months ago

WORKS !! Thank you !

@RogerHuHu - Can I raise some PRs for i18n though?

image