[GH-ISSUE #1887] [FR] More flexible date parsing #741

Closed
opened 2026-03-23 20:40:30 +00:00 by mirror · 0 comments
Owner

Originally created by @richardshiue on GitHub (Feb 25, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1887

Originally assigned to: @richardshiue on GitHub.

Description

Currently, a placeholder is required to instruct users to input time values in a very specific way (12 hour or 24 hour, with strict spacing). It would be better if the time string were better parsed, ordered in complexity:

  • leading, trailing, multiple spaces/tabs ( 6:00 am -> 06:00)
  • am, pm with and without period, capitalized or not (am, a.m., AM, A.M.)
  • missing spaces or colons (6 00 -> 06:00, 6:00pm)
  • a single number to specify an hour (6 -> 06:00, 17 -> 17:00, 6 pm -> 18:00)
  • ISO-8601
  • words (noon, midnight, eight, six o'clock, half past one, twelve fifty-five)

Impact

Users who enter dates in databases

Additional Context

No response

Originally created by @richardshiue on GitHub (Feb 25, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1887 Originally assigned to: @richardshiue on GitHub. ### Description Currently, a placeholder is required to instruct users to input time values in a very specific way (12 hour or 24 hour, with strict spacing). It would be better if the time string were better parsed, ordered in complexity: - leading, trailing, multiple spaces/tabs (` 6:00 am ` -> 06:00) - am, pm with and without period, capitalized or not (am, a.m., AM, A.M.) - missing spaces or colons (`6 00` -> 06:00, `6:00pm`) - a single number to specify an hour (`6` -> 06:00, `17` -> 17:00, `6 pm` -> 18:00) - ISO-8601 - words (noon, midnight, eight, six o'clock, half past one, twelve fifty-five) ### Impact Users who enter dates in databases ### Additional Context _No response_
mirror 2026-03-23 20:40:30 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#741
No description provided.