Skip to content

fix(forms): space the date apart from the time - #625

Merged
josemarluedke merged 1 commit into
josemarluedke:mainfrom
MichalBryxi:fix/date-time-separator-spacing
Oct 16, 2026
Merged

josemarluedke merged 1 commit into
josemarluedke:mainfrom
MichalBryxi:fix/date-time-separator-spacing

Conversation

@MichalBryxi

@MichalBryxi MichalBryxi commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Closes #624.

With a time @granularity, DateInput and DatePicker joined the date and the time with a single space, as narrow as the / and : between the other segments, so 01/20/2026 09:30 AM read as one run of digits. The separator before the hour segment, which is the one between the date and the time, now gets px-2 instead of px-px. That's a single class in the theme's literal slot ([&:has(+[data-type=hour])]:px-2). Fields without a time don't change.

Before

frontile-datetime-0-before

After

frontile-datetime-A-wider-gap

Checks

  • test-app: 2238 passed, 0 failed (3 skipped).
  • prettier --check passes on the changed file.

🤖 Generated with Claude Code

@netlify

netlify Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for frontile-next ready!

Name Link
🔨 Latest commit d9fc49a
🔍 Latest deploy log https://app.netlify.com/projects/frontile-next/deploys/6ad0f51346673d614d74afa7
😎 Deploy Preview https://deploy-preview-625--frontile-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

With a time granularity the date and the time were joined by a single
space, as narrow as every other separator, so `01/20/2026 09:30` read as
one run of digits. The separator before the hour now gets `px-2`.

Closes josemarluedke#624.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MichalBryxi
MichalBryxi force-pushed the fix/date-time-separator-spacing branch from 9162f3e to d9fc49a Compare October 15, 2026 15:45
@josemarluedke
josemarluedke merged commit 62360e2 into josemarluedke:main Oct 16, 2026
5 checks passed
@josemarluedke josemarluedke added the Type: Bug Something isn't working label Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DateInput and DatePicker: the date and the time run together

2 participants