Time range problems: Invalid date and object

Stimulsoft Reports.JS discussion
Post Reply
horusshih
Posts: 14
Joined: Fri May 12, 2017 9:26 am

Time range problems: Invalid date and object

Post 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.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Time range problems: Invalid date and object

Post by HighAley »

Hello.

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

Thank you.
horusshih
Posts: 14
Joined: Fri May 12, 2017 9:26 am

Re: Time range problems: Invalid date and object

Post 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?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Time range problems: Invalid date and object

Post by HighAley »

Hello.

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

Thank you.
Post Reply