Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 84d12fe

Browse files
authored
Date format error test
1 parent 777c1b2 commit 84d12fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/admin/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ backend:
77
# repo: surjithctly/eleventy-starter
88
media_folder: "src/static/img"
99
public_folder: "/static/img"
10+
locale: fr
1011

1112
# Please run "npx @staticcms/proxy-server" for local backend
1213
local_backend: true
@@ -22,7 +23,7 @@ collections:
2223
- { label: "Title", name: "title", widget: "string" }
2324
- { label: "Description", name: "description", widget: "string" }
2425
- { label: "Author", name: "author", widget: "string" }
25-
- { label: "Publish Date", name: "date", widget: "datetime" }
26+
- { label: "Publish Date", name: "date", widget: "datetime", format: 'YYYY-MM-dd' }
2627
- { label: "Body", name: "body", widget: "markdown" }
2728
- widget: select
2829
label: "tags"

0 commit comments

Comments
 (0)