This isn't a robust way to write good software. It's better to capture the requirements up front and apply those early on in the project's life. Relying on other users to notice defects is likely to result in only some of the software being correct. Especially if it's a date library, the author should be able to know the proper date format at the outset.