The ISO standard allows the dashes and colons to be left out,
but they make the time/date more readable, so they make sense in
plain text annotations meant for humans to read. And the format
YYYY-MM-DD makes it easy to sort date stamps: you can just extract
the date string and use a string comparison function. No need to
convert to integers and first compare the year, then the month,
then the date.
One would have to think about whether it makes sense to mark the
time/date string somehow, like the @-sign does for the author, and
perhaps there are other issues I haven't thought of.
Gabe on 09 Mar, 2013 03:18 PM
Right now we view comments as freeform. If we added a specific
blame syntax, I could see adding a recommendation for formatting.
However, I think the better solution is to allow any date/time
format and the tools should coerce them as needed. Of course, given
that I already use the ISO format I prefer that. As a user, I
wouldn't want to be forced into anything. A good toolkit should
even support Natural Language formatting.