Error date encoding

Stimulsoft Reports.JS discussion
Post Reply
jimyWeb
Posts: 42
Joined: Wed Feb 03, 2016 8:08 am

Error date encoding

Post by jimyWeb »

hello,
I use the function {Today.ToString("dddd, dd MMMM yyyy")}) and the result is:

miércoles, 05 octubre 2016.

Version 2016.2
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error date encoding

Post by HighAley »

Hello.

Sorry, we can't reproduce the issue.
Could you try our latest build?
If you still get the issue, please, send us a sample that reproduces the issue.

Thank you.
jimyWeb
Posts: 42
Joined: Wed Feb 03, 2016 8:08 am

Re: Error date encoding

Post by jimyWeb »

The Error persist on Version 2016.3
formatFecha.png
formatFecha.png (51.58 KiB) Viewed 4036 times
viewFecha.png
viewFecha.png (2.91 KiB) Viewed 4036 times
Thanks
Attachments
es.xml
(249.49 KiB) Downloaded 258 times
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Error date encoding

Post by Andrew »

Hello,

In the localization file I see <DayWednesday>Miércoles</DayWednesday> Is this correct?

Waiting for got your reply.
Thank you.
jimyWeb
Posts: 42
Joined: Wed Feb 03, 2016 8:08 am

Re: Error date encoding

Post by jimyWeb »

Yes, in es.xml: (English)Wednesday => Miércoles(Spanish).

But the report show: Miércoles.
Also with the word: Sábado. Sâbado.

I believe that this is a error enconding.
Thank you.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error date encoding

Post by HighAley »

Hello.

Sorry for the delay with answer.
We need additional time for analysis of the issue.
We will keep in touch with any news.

Thank you.

Ticket reference: #3552
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error date encoding

Post by HighAley »

Hello.

Sorry, but we could not reproduce the issue.
Could you try to open the attached report document?
Report (5).mdc
(862 Bytes) Downloaded 151 times
Thank you.
jimyWeb
Posts: 42
Joined: Wed Feb 03, 2016 8:08 am

Re: Error date encoding

Post by jimyWeb »

I can't open the attached report document...
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Error date encoding

Post by HighAley »

Hello.

Please, try to use the report.loadDocument() method to load the mdc file.

Thank you.
Post Reply