Page 1 of 1

Dates conversion

Posted: Thu Jul 10, 2025 12:50 pm
by krzyl2
Hi!
I added JSON datasource to my report, below i pasted content of this json.
I added table with this data, and when Text format = General - dates are the same as in souce.
When Text format = Date - dates that i see in preview are different than dates in source.
Why there are dates difference? I would like to see dates as in source.

Additional interesting thing is that only one of this two dates are changed. Second one always is correct.
chrome_CSVTJUKiCw.gif
chrome_CSVTJUKiCw.gif (1.37 MiB) Viewed 898 times
{
"Temp": [
{
"TestValues": "2025-06-10T12:30:00.107"
},
{
"TestValues": "2025-06-09T12:30:00.40"
}
]
}

Chris

Re: Dates conversion

Posted: Fri Jul 11, 2025 8:31 am
by Max Shamanov
Hello,

Could you please clarify what version you are using?
Also, please send us a sample report with test data that reproduces the issue.

Thank you.

Re: Dates conversion

Posted: Tue Jul 15, 2025 7:18 am
by krzyl2
I use version 2025.1.5
I have attached report and data source.
my data source is registered in report by code.
result is my json that i attached below.

const dataSet = new Stimulsoft.System.Data.DataSet("Temp");
dataSet.readJson(result);
this.designer.report.regData("My data", "", dataSet);


when i click on view Data i see this:
viewData.png
viewData.png (43.7 KiB) Viewed 741 times
data.png
data.png (4.11 KiB) Viewed 741 times
on preview i see this:
preview.png
preview.png (5.73 KiB) Viewed 741 times

Re: Dates conversion

Posted: Tue Jul 15, 2025 11:37 am
by Max Shamanov
Hello,

Thank you for your example.
We need some additional time to investigate the issue thoroughly.
We will let you know when we get any results.

Thank you.

Re: Dates conversion

Posted: Fri Jul 25, 2025 3:09 pm
by Max Shamanov
Hello.

We have reproduced the issue and need some time to make an improvement.
We will let you know when we get any results.

Thank you.
#18019