marcusolsson/obsidian-projects

Calendar View does not work anymore on mobile/iPad

Closed this issue · 3 comments

What happened?

Since the last update, the Calendar View doest not work anymore in my iPhone or iPad.
Here's a screenshot of the blank screen I got now:

What did you expect to happen?

Render it like in my MacOS.

image

How can we reproduce it (as minimally and precisely as possible)?

Open the calendar view in a mobile device.

Anything else we need to know?

No response

Plugin version

1.17.4

Obsidian version

1.6.7

OS

macOS, Other

Thanks! Should have taken a look at the mobile version. A rough investigation has narrowed this problem to no later than #887

Has there been any more progress on this? I just ran into this issue as well (because I just tried to create a calendar view, not bc it had been working correctly). If it hasn't been found already, here's a screenshot of the error that is thrown when I try to open the calendar:
IMG_0553

Problem identified. Thank you so much @tjg23 for the key debug info. Introduced by #877, actually caused by different implementation on Intl.Locale().weekInfo by Node.js vs Intl.Locale().getWeekInfo(), a more standard version established by both Safari and Chromium. Quick fix coming up and hopefully this will lead to a minor version release.

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo