On Thu, Jun 25, 2015 at 02:56:59PM +0200, H.Merijn Brand wrote:
> > That being said, I do not think it would be wrong to have a date-mode
> > that just showed strftime("%c"), or some other arbitrary strftime
> > string. You could then set log.date as appropriate for human
> > consumption.
>
> Yes please :)
>
> --date=lc
> --date=lc_time
> --date=locale
>
> all spring to mind as valid options
Here's a patch series that allows `--date=format:%c`, which is the same
thing. We could possibly do `--date=locale` as syntactic sugar, I guess.
[1/3]: show-branch: use DATE_RELATIVE instead of magic number
[2/3]: convert "enum date_mode" into a struct
[3/3]: introduce "format" date-mode
-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html