Thread (19 messages) 19 messages, 4 authors, 2016-06-15

[PATCH 0/3] localized date format

flat view
STALE3767d

From: Jeff King <hidden>
Date: 2016-06-15 23:05:31

On Thu, Jun 25, 2015 at 02:56:59PM +0200, H.Merijn Brand wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help