Jump to content

UniCalendarPanel : date format


Angelica

Recommended Posts

Hi Delphi -UniGUI Developers:

 

              We need your help, 'cause  we  need  date format : 'dd-mm-yyyy',( first day and second month).

 

               I write in ClientEvents-->UniEvents;  I attached a file ( agenda.png), too.

 

                  function beforeInit(sender, config)

                          {
                                    config.monthViewCfg = {
                                    ddCreateEventText: "Evento creado desde  {0}",
                                    ddMoveEventText: "Evento Modificado desde {0}",
                                    ddResizeEventText: "Evento Actualizado desde {0}",
                                    showHeader: true,
                                    startDay: 1,
                                    onMoreClick: Ext.emptyFn,
                                    showWeekLinks: true,
                                    showWeekNumbers: true,
                                    todayText: "Hoy",
                                    FormatDate: "j F Y"  ----> It doesn´t work.        
       
                            }
  
}
               Thanks a lot.
             
                Best regards.
 
               Angélica       :)  
                            

 

                  

post-5538-0-37640300-1507124306_thumb.png

Link to comment
Share on other sites

Hi !!!

 

Thanks for your answer. I Found an  extensible-lang-es.js. how do I include  file (extensible-lang-es.js.) in my calendar application ( UniCalendarpanel)?

 

I attached this file,

Thanks a lot again.

 

Angélica

 

PD: extensible-lang-es.js 's:

    if (exists('Extensible.calendar.template.BoxLayout')) {

        Ext.apply(Extensible.calendar.template.BoxLayout.prototype, {
            firstWeekDateFormat: 'D d', // e.g. "Lun 01"
            otherWeeksDateFormat: 'd',
            singleDayDateFormat: 'l, d \\de F \\de Y', // e.g. "Lunes, 12 de Enero de 2011"
            multiDayFirstDayFormat: 'd M, Y', // e.g. "09 Ene, 2011"
            multiDayMonthStartFormat: 'd M' // e.g. "01 Ene"
        });
    }

extensible-lang-es.js.txt

Link to comment
Share on other sites

  • 4 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...