Skip to content

API: RFC 3339 time format weirdness #13573

Closed
@DuckDuckWhale

Description

@DuckDuckWhale
  • Gitea version (or commit ref): 1.12.5
  • Git version: N/A
  • Operating system: Ubuntu Server 20.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Haven't tried
  • Log gist: N/A

Description

I was making a request using the API to /user/times and parameter since using RFC 3339. When I use 2002-10-02T10:00:00-00:00 and 2002-10-02T10:00:00Z it works fine, but when I use 2002-10-02T10:00:00+00:00 (with a plus) the API returns an empty message with a error code of 500.

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