search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Problem setting headerDateformat to pt-br

Asked by Anonymous
7 years ago.

I have set the dp.headerDateFormat to show locale short week day together with date pt-br format

dp = new DayPilot.Calendar("dp");

dp.locale = "pt-br";

dp.headerDateFormat = "ddd - dd/MM/yyyy";

Header show the correct date format, but ddd render using english locale option:

Sun 18/08/2016.

It should show:

Dom 18/08/2016

Can you help me to set it the correct way ?

Answer posted by Dan Letecky [DayPilot]
7 years ago.

What version of DayPilot do you use? There was a bug in versions prior to build 1974. It should work fine since version 8.2:

http://javascript.daypilot.org/daypilot-pro-for-javascript-8-2/

Let me know if it didn't help.

Comment posted by Anonymous
7 years ago.

Sorry for the Delay..
.
Problem solved with the new version.

Thanks !

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.