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

Strange behavior of DayPilot.Locale datePattern

Asked by Alex
10 years ago.

Hello All,

I'm trying to show date in different way.

When I using this datePattern:'dddd, dd MMMM yyyy'
I'm getting all fine in date header of DayPilot.Calendar. For example: Friday, 28 February 2014

When I using this datePattern:'ddd, dd MMMM yyyy'
I'm getting strange in date header of DayPilot.Calendar. For example: ddd, 28 February 2014

I'm using this custom localization:

var localeMy = new DayPilot.Locale('my', {
dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],
dayNamesShort:['Su','Mo','Tu','We','Th','Fr','Sa'],
monthNames:['January','February','March','April','May','June','July','August','September','October','November','December',''],
timePattern:'hh:mm:tt',
datePattern:'ddd, dd MMMM yyyy',
dateTimePattern:'dd.MM.yyyy hh:mm:tt',
timeFormat:'Clock24Hours'
});

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

Please try version 7.7.759 from the sandbox:

http://javascript.daypilot.org/sandbox/

"ddd" pattern string is not implemented in prior versions.

Comment posted by Alex
10 years ago.

Thank you

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