BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
Hi,
The Blazor web app I am working on is currently set to the culture en-NZ. I have defined this culture inside the javascript file that loads the SSRS report.
The DateTimeFormat is also set to en-NZ format.
When running this report without default values for my date parameters, everything works as expected. However, when I turn on the default values, I get the error String '6/30/2023 12:00:00 AM' was not recognized as a valid DateTime. The SSRS report and Bold Reports Locale are set to en-NZ, so I am not sure why the default value is being parsed in the en-US format MM/dd/yyyy which causes the error.
It is also important to note that the default value expression that is run inside the date parameters is the following: =DATEADD("d", -14, TODAY)
I would expect this expression to evaluate the Start Date to be 09/06/2023 and the End Date to be 30/06/2023
I have found a strange solution to this problem; add a random parameter (ReportParameter1) before my start and end date. For some reason it allows the date parameters to parse in the correct date format.
I have tried following this https://help.boldreports.com/report-viewer-sdk/javascript-reporting/report-viewer/localization/ and defining and providing the localization script tags. But this unfortunately did not solve the problem (I did see that NZ wasn't in the list of CDN links, maybe that's why).
This bug is effecting a lot of clients that are using the app, so it would be great if a solution could be provided quickly.
Thanks,
Hi Elijah,
Thanks for contacting Bold Report support.
We have created a ticket for your query. Please check the ticket from the below site and follow further.
https://support.boldreports.com/support/tickets
Regards,
Arumugasami M