Ævar Arnfjörð Bjarmason
f184289832
date API: provide and use a DATE_MODE_INIT
...
Provide and use a DATE_MODE_INIT macro. Most of the users of struct
date_mode" use it via pretty.h's "struct pretty_print_context" which
doesn't have an initialization macro, so we're still bound to being
initialized to "{ 0 }" by default.
But we can change the couple of callers that directly declared a
variable on the stack to instead use the initializer, and thus do away
with the "mode.local = 0" added in add00ba2de (date: make "local"
orthogonal to date format, 2015-09-03).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2022-02-16 09:40:00 -08:00
..
2020-08-13 11:02:15 -07:00
2021-07-13 15:20:20 -07:00
2021-09-14 16:34:17 -07:00
2021-04-13 15:28:52 -07:00
2021-03-18 13:31:14 -07:00
2020-08-14 10:52:04 -07:00
2020-09-25 10:59:44 -07:00
2022-01-17 14:17:48 -08:00
2022-02-16 09:40:00 -08:00
2018-08-30 10:30:21 -07:00
2019-08-09 10:13:14 -07:00
2022-01-09 10:34:53 -08:00
2018-08-29 11:32:49 -07:00
2020-01-13 14:58:43 -08:00
2020-02-24 09:33:24 -08:00
2021-09-22 13:15:00 -07:00
2021-04-13 13:18:46 -07:00
2021-05-20 15:40:39 +09:00
2021-11-03 11:22:26 -07:00
2021-07-30 10:18:27 -07:00
2021-06-09 09:15:58 +09:00
2021-06-09 09:15:58 +09:00
2020-11-11 12:55:27 -08:00
2018-07-16 13:55:39 -07:00
2019-10-07 10:20:11 +09:00
2021-06-09 09:15:58 +09:00
2021-10-08 10:04:56 -07:00
2021-10-07 15:40:15 -07:00
2019-07-01 10:26:28 -07:00
2021-10-07 15:40:15 -07:00
2021-10-07 15:40:15 -07:00
2020-04-27 11:21:12 -07:00
2021-06-28 09:58:01 -07:00
2021-05-04 11:52:02 +09:00
2021-01-24 16:09:17 -08:00
2021-07-19 11:53:50 -07:00
2021-10-07 15:40:15 -07:00
2020-11-11 12:46:56 -08:00
2020-04-27 11:21:28 -07:00
2021-06-09 09:15:58 +09:00
2021-12-22 11:42:40 -08:00
2021-01-18 16:21:18 -08:00
2021-10-27 16:26:37 -07:00
2022-01-26 15:58:41 -08:00
2021-10-08 10:45:48 -07:00
2020-05-18 13:03:35 -07:00
2020-02-24 09:33:27 -08:00
2018-09-21 09:51:19 -07:00
2021-11-25 22:15:07 -08:00
2018-05-30 14:04:05 +09:00
2021-08-05 08:59:37 -07:00
2018-11-14 16:54:52 +09:00
2018-11-14 16:54:53 +09:00
2018-12-10 15:41:09 +09:00
2021-09-20 08:57:58 -07:00
2021-09-09 14:09:30 -07:00
2021-11-25 22:15:07 -08:00
2022-01-17 14:17:48 -08:00
2022-01-17 14:17:48 -08:00
2021-12-07 12:29:57 -08:00
2021-04-08 12:19:10 -07:00
2020-02-24 09:30:31 -08:00
2018-05-30 14:04:05 +09:00
2019-01-29 09:26:46 -08:00