From d0c821588eaae23c7b08e9b64c1f73764e9a63a8 Mon Sep 17 00:00:00 2001 From: Mischa Date: Sat, 20 Jun 2026 12:21:50 +0200 Subject: [PATCH] fix(story): replace datetime pickers with text fields for date inputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Admin2's datetime widget ignores the blueprint format parameter and renders dates in US MM/DD/YYYY locale format regardless. Switching both Start Date and End Date to type:text eliminates the datepicker entirely — existing ISO values (2025-09-06 20:00) display as typed, no locale interference. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr --- themes/intotheeast/blueprints/story.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/themes/intotheeast/blueprints/story.yaml b/themes/intotheeast/blueprints/story.yaml index 770b86b..c57678f 100644 --- a/themes/intotheeast/blueprints/story.yaml +++ b/themes/intotheeast/blueprints/story.yaml @@ -18,17 +18,18 @@ form: required: true header.date: - type: datetime + type: text label: Start Date - format: 'Y-m-d H:i' + placeholder: '2025-09-06 20:00' + help: 'Format: YYYY-MM-DD HH:MM' validate: required: true header.end_date: - type: datetime + type: text label: End Date - format: 'Y-m-d H:i' - help: 'Optional — leave blank for a single-day story' + placeholder: '2025-09-12' + help: 'Format: YYYY-MM-DD — leave blank for a single-day story' header.hero_image: type: text