DateUtils Plugin

I am trying to rid my solution of warnings/errors. I’m getting warnings using the duration method in the DateUtils plugin. I thought it was just me, but even the sample has warnings:

var vStart = new Date();
var vEnd = plugins.DateUtils.addDays(vStart, 20);
vDuration = plugins.DateUtils.Duration(vStart, vEnd);  //Warning: The method Duration() in the type Plugin<DateUtils> is not applicable for the arguments (Date,Date)

I’m working on a timeclock application and need to get the total hours worked.

Thanks in advance for the help!

You can safely ignore this warning. This “issue” will be addressed with the next release.