I imported a 7.9.10 project into 8 and am getting an error on an expression that previously worked:
dateArithmetic({[.]Current_Shift_Start}, {[.]Site Shift Data/Shift_Time/Shift_Seconds_Total} - 1, “sec”)
It doesn’t seem to like the tag in the subtraction:
‘dateArithmetic’ function expected a ‘numeric’ second argument, but got a class java.lang.Object
Wrapping another dateArithmetic around it does work but I hope I don’t have to do this:
dateArithmetic(dateArithmetic({[.]Current_Shift_Start}, {[.]Site Shift Data/Shift_Time/Shift_Seconds_Total}, “sec”), -1, “sec”)