Opened 4 years ago

Closed 4 years ago

#19917 closed Cleanup/optimization (fixed)

missing microseconds for TIME_INPUT_FORMATS

Reported by: Stephan Groß Owned by: nobody
Component: Core (Other) Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

there are no microseconds in the valid input formats.

the current settings are:

TIME_INPUT_FORMATS = (
    '%H:%M:%S',     # '14:30:59'
    '%H:%M',        # '14:30'
)

and could be:

TIME_INPUT_FORMATS = (
    '%H:%M:%S',     # '14:30:59'
    '%H:%M:%S.%f',     # '14:30:59.000200'
    '%H:%M',        # '14:30'
)

Change History (2)

comment:1 Changed 4 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted

comment:2 Changed 4 years ago by Claude Paroz <claude@…>

Resolution: fixed
Status: newclosed

In 384c180e414a982a6cc5ccabc675bcfb4fd80988:

Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATS

Thanks minddust for the report.

Note: See TracTickets for help on using tickets.
Back to Top