From: Alan T. DeKok Date: Fri, 1 Apr 2022 14:52:57 +0000 (-0400) Subject: add note about variable length time specs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f133c3798980f85d56df6c564d2e0d5d5fcf95d5;p=thirdparty%2Ffreeradius-server.git add note about variable length time specs --- diff --git a/src/lib/util/time.c b/src/lib/util/time.c index 5edc05e20c7..ecaa8d6282d 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);