git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git log use of date format differs between Command Line and script usage.
@ 2017-06-30 16:06 Shaun Uldrikis
  2017-06-30 16:41 ` René Scharfe
  2017-06-30 16:43 ` Stefan Beller
  0 siblings, 2 replies; 4+ messages in thread
From: Shaun Uldrikis @ 2017-06-30 16:06 UTC (permalink / raw)
  To: git

If you supply a non-standard format to the date configuration for git
log, something like:
[log]
        date = format:%Y-%m-%d %H:%M

then, when you run 'git log' inside a script, or when using gitk
(anywhere), it fails on decoding the format.

fatal: unknown date format format: %Y-%m-%d %H:%M


However, that format works correctly on the command line.
I do not have a patch to address this issue.

-Shaun

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-30 17:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-30 16:06 git log use of date format differs between Command Line and script usage Shaun Uldrikis
2017-06-30 16:41 ` René Scharfe
2017-06-30 16:43 ` Stefan Beller
2017-06-30 17:29   ` Shaun Uldrikis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).