Skip to content

Refuse lowercase t, whitespace and second 60 in date-times #34

Open

Description

@PhilflowIO

Symptom

The date-time parser behind event start/end and todo due accepts a lowercase t, a trailing space and the leap second 23:59:60. For 23:59:60 it then computes a time about 25 hours off when floating times are set to "local". dav-mcp's time-range check refuses all three (dav-mcp#165), so the two input paths disagree. Seen in the review of PhilflowIO/dav-mcp#165.

Acceptance

  • The parser refuses lowercase t/z, surrounding whitespace and second 60 with INVALID_INPUT, or documents why one is accepted.
  • Test per form.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions