Skip to content

Issue: Error loading field #153

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

Closed
apowell656 opened this issue Oct 16, 2021 · 4 comments
Closed

Issue: Error loading field #153

apowell656 opened this issue Oct 16, 2021 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@apowell656
Copy link

Describe the bug
The side panel shows "Error loading field" with the following date format YYYY-MM-DD H:mm.

To Reproduce
Steps to reproduce the behavior:

In settings.json
"frontMatter.taxonomy.dateFormat": "YYYY-MM-DD H:mm"

Format the date as follows -

---
title: Apple M1 - From Breakup to Makeup
authors: Andre Powell
date: 2021-06-26 18:05
modified: 2021-06-26 18:05
slug: apple-m1-from-breakup-to-makeup
category: Technology
tags: Apple, M1
status: published
featuredimage: images/featured/apple_mac_mini_m1.jpg
type: article
---

Expected behavior
Usage of the date fields in the Front Matter side panel.

Screenshots

image

With removing the setting, the error is gone, but the date is formatted incorrectly.
image

Desktop (please complete the following information):
Front Matter v5.1.1

Mac OS BigSur

Visual Studio Code
Version: 1.61.1
Commit: c13f1abb110fc756f9b3a6f16670df9cd9d4cf63
Date: 2021-10-14T01:17:20.435Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin arm64 20.6.0

@estruyf
Copy link
Owner

estruyf commented Oct 16, 2021 via email

@apowell656
Copy link
Author

That works, but their documentation "should" have supported my original. Oh, well thanks.

@estruyf
Copy link
Owner

estruyf commented Oct 16, 2021

I can check to support it ☺️

estruyf added a commit that referenced this issue Oct 17, 2021
@estruyf
Copy link
Owner

estruyf commented Oct 17, 2021

In the latest beta, your format will be supported

@estruyf estruyf modified the milestones: 5.1.1, 5.2.0 Oct 18, 2021
@estruyf estruyf added the bug Something isn't working label Oct 18, 2021
@estruyf estruyf closed this as completed Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants