login
Header Space

 
 

Re: [PATCH] Support output ISO 8601 format dates

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robin Rosenberg <robin.rosenberg@...>
Cc: <git@...>
Date: Friday, July 13, 2007 - 6:11 pm

Documentation/pretty-formats.txt does not talk about this
addition.

Almost everything else looks fine with your patch, except that
neither "git show --date=iso" nor "git log --date=iso8601" works
with this change, but that is only half your fault.

When we added DATE_SHORT support we could have added the option
parser to revision.c so that you could mimick it more easily.
That half is my fault.

The patch, especially this hunk:


makes me wonder if we would want to refactor and reimplement
show_rfc2822_date() in terms of show_date(), by introducing
DATE_RFC2822 in the date format enum, which will allow us to say
"git show --date=rfc2822".

Hmm?

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Support output ISO 8601 format dates, Robin Rosenberg, (Fri Jul 13, 4:22 pm)
Re: [PATCH] Support output ISO 8601 format dates, Jan Hudec, (Sun Jul 15, 5:23 pm)
Re: [PATCH] Support output ISO 8601 format dates, Robin Rosenberg, (Sun Jul 15, 7:19 pm)
Re: [PATCH] Support output ISO 8601 format dates, Linus Torvalds, (Sun Jul 15, 7:57 pm)
Re: [PATCH] Support output ISO 8601 format dates, Junio C Hamano, (Sun Jul 15, 6:14 pm)
Re: [PATCH] Support output ISO 8601 format dates, Junio C Hamano, (Fri Jul 13, 6:11 pm)
[PATCH] Support output ISO 8601 format dates, Robin Rosenberg, (Fri Jul 13, 7:00 pm)
[PATCH] Document new --date=&lt;format&gt;, Junio C Hamano, (Sat Jul 14, 2:49 am)
Re: [PATCH 2/2] Wire new date formats to --date=&lt;format&g..., Jan-Benedict Glaw, (Sat Jul 14, 2:44 am)
speck-geostationary