]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add note about variable length time specs
authorAlan T. DeKok <aland@freeradius.org>
Fri, 1 Apr 2022 14:52:57 +0000 (10:52 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 4 Apr 2022 18:46:11 +0000 (14:46 -0400)
src/lib/util/time.c

index 5edc05e20c7c94d608ad083eec77892154205fbc..ecaa8d6282de0f47a84c24ce203ac6b8faba7493 100644 (file)
@@ -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);