Skip to content

Data missing or incorrect due to etime parsing issue. #2

@jbot-the-dev

Description

@jbot-the-dev

Here are some notes on the issue that I put together:

  • datetime.strptime %M%S does not work for etime.
  • The etime format is MMMSS, with M being minutes and S being seconds, and without any zero left-padding.
  • %M%S only works for a maximum of 59 minutes and 59 seconds.
  • Single digits are being skipped, as are any values greater than 5959.
  • Two digits are being parsed as MS, where they should be SS.
  • Three digits are being parsed as MMS, unless MM > 59, then it parses as MSS.

I have submitted a pull request with a simple fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions