Page 1 of 1

Time range problems: Invalid date and object

Posted: Mon May 15, 2017 1:52 am
by horusshih
Dear all

I use demo stimulsoft report js and have some problems when setting time range variable.

When I create a variable of time range, I set type as "datetime" and "range" and set Init by as "value", then I choose From and To between "2017-1-1 09:16:26" and "2017-5-15 09:16:26". Others, "request from user" is chosen and date time format is "date and time".

However, when I preview the report, it shows "NaN.NaN.NaN Invalid Date" in both from and to in the time range. Then, I go back to the Edit Variable, It becomes Invalid date in the From and To.

Furthermore, I put the variable on the report to show the time range, which users choose. But it shows [object Object] in preview.

By the way, when setting Init by as value "without" choosing From and To, the time range can run, but shows 01/01/1900 to 05/15/2017, and the variable still shows [object Object] in preview.

Re: Time range problems: Invalid date and object

Posted: Mon May 15, 2017 7:51 am
by HighAley
Hello.

This issue is already fixed.
Please, check our latest build (2017.1.3).

Thank you.

Re: Time range problems: Invalid date and object

Posted: Mon May 15, 2017 8:19 am
by horusshih
Hi, HighAley

I just use Stimulsoft Reports 2017.1.3 (Zip Archive): JS-Windows. The date range works, but it still shows [object Object] in preview.

Then, I also use Stimulsoft Reports 2017.1.3, and it works!

Does it mean that I can't use Zip archive version to create my report?

Re: Time range problems: Invalid date and object

Posted: Wed May 17, 2017 10:51 am
by HighAley
Hello.

Please, send us a sample report template that reproduces the issue.

Thank you.