1

Return an error when Date Format doesn't match Date Millis in Add Time

AutoTools -> Time -> Add Time will convert text dates/times into milliseconds, but if there's a problem with the Date Format, it just silently substitutes the current time.  I'd like to see it set some kind of %err when this happens.

For example:

demo.date (216)
A1: Variable Set [ Name:%raw To:24 July 2016 8:31 AM Do Maths:Off Append:Off ]
A2: AutoTools Time [ Configuration:
---------Add Time---------
Output Format: yyyy-MM-dd HH:mm:ss Timeout (Seconds):30 Continue Task After Error:On ]
A3: Flash [ Text:%raw
%atcalculateddate

%err %errmsg Long:On ] 

There's a mismatch between the Date Format and the actual date (: vs . in the time), so %atcalculateddate gives the current date and time, but %err and %errmsg aren't set so I don't know that's happened.

I get this a lot when I'm reading the date from another source.  If they change their format, my task continues happily with the wrong date/time, and it sometimes takes a while for me to notice without an error message.

Edit: oops, the task description may not show enough detail.  Here's the XML: https://www.dropbox.com/pri/get/public/demo.date.tsk.xml?_subject_uid=87653041&w=AABDsiH7A-e6r4jvcPA_4E2wsXz_02o3YCly8l9WC7rxfQ