hodea / hodea-review-minder

Scripts to assist code reviews
MIT License
1 stars 1 forks source link

Date specification #10

Open franzhollerer opened 6 years ago

franzhollerer commented 6 years ago

we must care about how to specify and print a date. In American English 5/10/04 means 10th May, 2004 while in British English it means 5th October 2004. See also https://www.ego4u.de/de/cram-up/vocabulary/date/written.

Threfore, for all generated reports it may be better to write 5. Oct. 2004 instead of 5/10/04 (or even 5/10/2004), or to use the Coordinated Universal Time (UTC) format.

For the internal representation we should stick with the UTC format, which is YYYY-MM-DD. Details see: https://www.w3.org/TR/NOTE-datetime