Setting lastmod modifies creation #25

Closed
opened 2026-10-05 02:22:43 +02:00 by adam · 3 comments
Owner
See: https://user-images.githubusercontent.com/973709/114273457-00e49000-9a12-11eb-9882-68316c32c246.mp4 It should have modified the `modified` field only. <!-- github-sync-id:855080531 -->
adam closed this issue 2026-10-05 02:22:43 +02:00
Author
Owner

additionally it changes the date format

additionally it changes the date format <!-- github-comment-id:869069281 -->
Author
Owner

This seems to be related to the js-yaml dependency which transforms it to UTC. Did a change internally to store the date as a string. This will make YAML not parse it.

This will not automatically work for you. The best is to wrap the dates with single quotes: '

This seems to be related to the `js-yaml` dependency which transforms it to UTC. Did a change internally to store the date as a string. This will make YAML not parse it. This will not automatically work for you. The best is to wrap the dates with single quotes: `'` <!-- github-comment-id:869688996 -->
Author
Owner

Fix will be released with v1.17.1

Fix will be released with `v1.17.1` <!-- github-comment-id:869692015 -->
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#25