Skip to content

Issue: Error loading field #153

Description

@apowell656

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions