Add current day/month to tracerestrict and conditional order conditionals

This commit is contained in:
Jonathan G Rennison
2021-10-26 23:39:40 +01:00
parent 944f090b46
commit 53139c2405
6 changed files with 25 additions and 7 deletions

View File

@@ -1713,6 +1713,12 @@ int GetTraceRestrictTimeDateValue(TraceRestrictTimeDateValueField type)
case TRTDVF_HOUR_MINUTE:
return (MINUTES_HOUR(minutes) * 100) + MINUTES_MINUTE(minutes);
case TRTDVF_DAY:
return _cur_date_ymd.day;
case TRTDVF_MONTH:
return _cur_date_ymd.month + 1;
default:
return 0;
}