Hello Jatin! Thank you for your help the other day.
The app is working very well. Thanks!
I’ve found a specific bug related to the default “Current Day” value in the Date Picker. It seems to save an incorrect date when used in a timezone ahead of UTC (I am in Japan Standard Time, UTC+9).
Here is the detailed behavior:
The Scenario:
When I create a new entry early in the morning (e.g., at 2:00 AM on Sep 20th), the Date field correctly defaults to “Current Day”, showing Sep 20th in the form.
The Bug:
- If I save the form without touching the date picker, the date is incorrectly saved in Notion as the previous day (Sep 19th).
- However, if I manually open the date picker and re-select the exact same date (Sep 20th), it saves correctly.
Conclusion:
This strongly suggests that the data format sent for the automatic default “Current Day” value is different from the data format sent after a manual selection. The default value seems to be a timezone-naive timestamp that the Notion API interprets as UTC, while a manual selection sends a correctly formatted value that is interpreted correctly.
This makes the default value feature unreliable for users in timezones far from UTC.
I hope this detailed information helps you identify and fix the root cause. Thank you!