Ask about expected date time formats before writing code

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the user-input-and-output category.

Last Updated: 2021-05-16

I implemented an application deadline time field in the job board for Project S without thinking too carefully about it. Then a change request came in soon after that the deadline ought to appear to the user in such and such a local format (that differed from the default date format).

It would have been easier to write it this way from the get-go, so I should have asked about formatting preferences up-front.

Lesson

Make sure you ask about the local date/time standards that your software is expected to use before you write features.