Issue: date picker picks previous day #749

Closed
opened 2026-10-05 03:03:39 +02:00 by adam · 4 comments
Owner

Describe the bug
Today I notice that date picker picks previous day. My computer uses UTC+2 (with dayling savings).

To Reproduce
Steps to reproduce the behavior:

  1. Computer timezone is Belgium/Brussels. Currently we're July 11.
  2. Click on date picker
  3. Pick a day in either July or June
  4. Selected days is not the selection but the day before...
  5. Date in FM reflects displayed date (then is wrong)

Expected behavior
Date displayed in calendar should be picked.

Screenshots

If I want this, I have to select June 26 in calendar, not June 25...

Image

Device:

  • OS: Windows 11
  • Front Matter CMS Version : 10.9.0
  • Browser : N/A

Additional context
Seems a recent bug.
Clicking on "now" selects today correctly.

**Describe the bug** Today I notice that date picker picks previous day. My computer uses UTC+2 (with dayling savings). **To Reproduce** Steps to reproduce the behavior: 1. Computer timezone is Belgium/Brussels. Currently we're July 11. 2. Click on date picker 3. Pick a day in either July or June 4. Selected days is not the selection but the day before... 5. Date in FM reflects displayed date (then is wrong) **Expected behavior** Date displayed in calendar should be picked. **Screenshots** If I want this, I have to select June 26 in calendar, not June 25... <img width="902" height="564" alt="Image" src="https://github.com/user-attachments/assets/aae0138a-53c7-4151-968a-48f21d9c9164" /> **Device:** - OS: Windows 11 - Front Matter CMS Version : 10.9.0 - Browser : N/A **Additional context** Seems a recent bug. Clicking on "now" selects today correctly. <!-- github-sync-id:3224189517 -->
adam closed this issue 2026-10-05 03:03:40 +02:00
Author
Owner

Interesting. Can you give me an export of your settings? You can do this by running the Front Matter diagnostic logging command - https://frontmatter.codes/docs/troubleshooting#inspecting-configuration-behavior - that way I can test it out against your settings.

Interesting. Can you give me an export of your settings? You can do this by running the Front Matter diagnostic logging command - https://frontmatter.codes/docs/troubleshooting#inspecting-configuration-behavior - that way I can test it out against your settings. <!-- github-comment-id:3063821015 -->
Author
Owner

Thanks for the link but I don't understand how I "open" the virtual document mentioned here: https://frontmatter.codes/docs/commands#diagnostic-logging

My complete FrontMatter configuration:

Thanks a lot. Maybe I could split more settings, this could be interesting.

Thanks for the link but I don't understand how I "open" the virtual document mentioned here: https://frontmatter.codes/docs/commands#diagnostic-logging My complete FrontMatter configuration: - main settings: https://github.com/poesieland/poesieland.github.io/blob/main/frontmatter.json - settings that could go to separate files: https://github.com/poesieland/poesieland.github.io/tree/main/.frontmatter Thanks a lot. Maybe I could split more settings, this could be interesting. <!-- github-comment-id:3065035061 -->
Author
Owner

I fixed the configuration issues in your frontmatter.json file: https://github.com/poesieland/poesieland.github.io/pull/99

I fixed the configuration issues in your `frontmatter.json` file: https://github.com/poesieland/poesieland.github.io/pull/99 <!-- github-comment-id:3070697425 -->
Author
Owner

Thanks a lot for fixing my configuration! Good to learn.

Thanks a lot for fixing my configuration! Good to learn. <!-- github-comment-id:3073751483 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#749