From 06ecf416636d9cdba74fa76d64032a40350c693c Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 2 Oct 2023 11:58:02 -0400 Subject: [PATCH] Add notes about the fields for timestamps. --- src/compare/diff.rs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/compare/diff.rs b/src/compare/diff.rs index 1075383f..654a1ed7 100644 --- a/src/compare/diff.rs +++ b/src/compare/diff.rs @@ -2119,7 +2119,18 @@ fn compare_timestamp<'b, 's>( let this_status = DiffStatus::Good; let message = None; - // TODO: Compare :type :range-type :raw-value :year-start :month-start :day-start :hour-start :minute-start :year-end :month-end :day-end :hour-end :minute-end + // TODO: Compare :type :range-type :raw-value :year-start :month-start :day-start :hour-start :minute-start :year-end :month-end :day-end :hour-end :minute-end :repeater-type :repeater-value :repeater-unit :warning-type :warning-value :warning-unit + // + // :type unquoted atom either diary, active, inactive, active-range, or inactive-range. + // :range-type unquoted atom either nil, daterange + // :raw-value quoted string of the source + // :*-start :*-end unquoted integers + // :repeater-type optional unquoted atom with value cumulate + // :repeater-value unquoted integer + // :repeater-unit unquoted atom with value week + // :warning-type optional unquoted atom with value all + // :warning-value unquoted integer + // :warning-unit unquoted atom with value day Ok(DiffResult { status: this_status,