jasonmzx / Software-Quality-Final-Project

Software Quality 3980U
1 stars 0 forks source link

Add requirement: `The ticket may use a 12-hour or 24-hour format per user preferences.` #7

Closed jasonmzx closed 7 months ago

jasonmzx commented 7 months ago

Frontend Requirement, So actually requirement 6. is already covered: A 24-hour format is used in the application.

Here we're looking at Requirement 7. however, this can just be a frontend formatting JavaScript feature, very easy to do on Frontend.

Exert from JSON response body, using 24 h format, and then can parse to whatever

                "departDate": {
                    "DayTime": {
                        "hour": 15,
                        "minute": 30,
                        "second": 0,
                        "nano": 0
                    },