Skip to content

Homework endpoint returning invalid ISO 8601 string #20

@davidcorbin

Description

@davidcorbin

Expected Behavior

The due parameter of the response for open assignments through the homework API endpoint is sometimes invalid.

Actual Behavior

When the day is a single digit, the API responds with a single digit date rather than a zero-padded date.

Steps to Reproduce the Problem

  1. The due parameter for an assignment due on 2018-04-03T23:55:00Z responds 2018-04-3T23:55:00Z.

Specifications

  • Version: Latest
  • Platform: All

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions