localized date format
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | show-branch: use DATE_RELATIVE instead of magic numberbuiltin/ | +1 | 0 replies | |
| 2/3 | convert "enum date_mode" into a structarchive.c builtin/ builtin/ +20 more | +97 | 7 replies | |
| 3/3 | introduce "format" date-modeDocumentation/ builtin/ cache.h +5 more | +61 | 17 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Eric Sunshine |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | Clever-idea-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] localized date format
Quoted 5 lines · H.Merijn Brand
Quoted 4 lines
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.
Quoted 7 lines
Yes please :)
--date=lc
--date=lc_time
--date=localeall 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