Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some dates in front matter (yaml) are not being marked as timestamps #32

Open
Tracked by #1
alexr00 opened this issue Nov 11, 2019 · 1 comment
Open
Tracked by #1

Comments

@alexr00
Copy link

alexr00 commented Nov 11, 2019

From @Tyriar in microsoft/vscode#84435

---
a: b
a: 2019-10-1
a: 2019-10-10
---

image
image
image

Version: 1.41.0-insider (user setup)
Commit: 27cd33d891eb23e370b672e751be9fe8b3748ac1
Date: 2019-11-08T19:12:35.358Z
Electron: 6.1.4
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18362

@RedCMD
Copy link

RedCMD commented Jun 29, 2024

That would be a design decision with the ISO 8601 standard https://www.w3.org/TR/NOTE-datetime that YAML:1.0 and YAML 1.1 used https://yaml.org/type/timestamp.html
YAML 1.2 no longer (inherently) supports timestamps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants