From f133c3798980f85d56df6c564d2e0d5d5fcf95d5 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Fri, 1 Apr 2022 10:52:57 -0400 Subject: [PATCH] add note about variable length time specs --- src/lib/util/time.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/util/time.c b/src/lib/util/time.c index 5edc05e20c..ecaa8d6282 100644 --- a/src/lib/util/time.c +++ b/src/lib/util/time.c @@ -83,6 +83,10 @@ fr_table_num_ordered_t const fr_time_precision_table[] = { { L("days"), FR_TIME_RES_DAY }, { L("d"), FR_TIME_RES_DAY } + /* + * Note that there is no TIME_RES_MONTH or TIME_RES_YEAR, because months and years have variable + * lengths. + */ }; size_t fr_time_precision_table_len = NUM_ELEMENTS(fr_time_precision_table); -- 2.47.2