Ignore:
Timestamp:
03/12/13 15:19:43 (11 years ago)
Author:
cristiano
Message:

Ticket #3387 - Ao criar um novo compromisso com o botão Adicionar evento

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/js/timezone.js

    r7680 r8001  
    7878    }, 
    7979 
    80     getDate: function( time, rang, isAllDay){ 
     80    getDate: function( time, rang, isAllDay , notNormalize){ 
    8181 
    82         return  Timezone.normalizeDate(new Date( parseInt( time ) - ((rang == 'end' && isAllDay && parseInt(isAllDay) == 1) ? 86400000 : 0)), false, true).toString( User.preferences.dateFormat ); 
     82        return  (notNormalize && !isAllDay) ? new Date( parseInt( time ) - ((rang == 'end' && isAllDay && parseInt(isAllDay) == 1) ? 86400000 : 0)).toString( User.preferences.dateFormat ) : Timezone.normalizeDate(new Date( parseInt( time ) - ((rang == 'end' && isAllDay && parseInt(isAllDay) == 1) ? 86400000 : 0)), false, true).toString( User.preferences.dateFormat ); 
    8383 
    8484    }, 
Note: See TracChangeset for help on using the changeset viewer.