ISO Date Format as Default?
Marcos Cruz
mercurial-list at programandala.net
Mon Sep 12 08:53:26 UTC 2022
Simon Harrison escribió/skribis/wrote/scrit (2022-09-11T21:01:47+0100):
> Does Mercurial has a setting, preferably in the global .hgrc
>
> So I stop seeing this:
> Tue Aug 23 10:35:23 2022 +0100
>
> And see this instead:
> 2022-09-10 17:02 +0100
I don't think so. I missed such an option too when I started using
Mercurial some months ago (also an option to display UTC dates).
But you can create your own log template containing the `isodate` filter
with the `date` keyword, i.e. `{date|isodate}`, and then you can make it
the default one using a `log` alias. See `hg help templates` and `hg
help config.alias`.
--
Marcos Cruz
http://programandala.net
More information about the Mercurial
mailing list