Ignore:
Timestamp:
04/01/14 16:56:38 (10 years ago)
Author:
rboipsl
Message:

Dernière version rboipsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tapas/web/resources/js/calendar/anytime.js

    r409 r779  
    213213//      ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] 
    214214//      Note that if the firstDOW option is passed to AnyTime.picker() (see 
    215 //      AnyTime.picker()), this array should nonetheless begin with the  
     215//      AnyTime.picker()), this array should nonetheless begin with the 
    216216//      desired abbreviation for Sunday. 
    217217// 
     
    279279//        %: - the timezone offset, with a sign, in hours and minutes, in 
    280280//          four-digit, 24-hour format with a colon delimiter (for example, 
    281 //          +05:30).  This is similar to the %z format used by Java.   
     281//          +05:30).  This is similar to the %z format used by Java. 
    282282//          To remember the difference between %: and %;, it might be helpful 
    283283//          to remember that a colon (:) has a period (.) on the bottom and 
     
    286286//          %: might be a longer string than %; (I know it's a stretch, but 
    287287//          it's easier than looking it up every time)! 
    288 //       
     288// 
    289289//        %- - the timezone offset, with a sign, in hours and minutes, in 
    290290//          three-or-four-digit, 24-hour format with no delimiter (for 
     
    296296// 
    297297//        %@ - the timezone offset label.  By default, this will be the 
    298 //          string "UTC" followed by the offset, with a sign, in hours and   
     298//          string "UTC" followed by the offset, with a sign, in hours and 
    299299//          minutes, in four-digit, 24-hour format with a colon delimiter 
    300300//          (for example, UTC+05:30).  However, if Any+Time(TM) has been 
     
    355355//    utcParseOffsetCapture - if true, any parsed string is always treated as 
    356356//      though it represents local time, and any offset specified by the string 
    357 //      (or utcParseOffsetAssume) is captured for return by the  
     357//      (or utcParseOffsetAssume) is captured for return by the 
    358358//      getUtcParseOffsetCaptured() method.  If the %@ format specifier is 
    359359//      used, the sub-index of any matched label is also captured for return 
     
    361361//      AnyTime.picker can edit the time as specified (without conversion to 
    362362//      local time) and then convert the edited time to a different time zone 
    363 //      (as selected using the picker).  
     363//      (as selected using the picker). 
    364364//============================================================================= 
    365365 
     
    10311031 
    10321032        //------------------------------------------------------------------------- 
    1033         //  AnyTime.Converter.setUtcFormatOffsetAlleged()  sets the offset from  
     1033        //  AnyTime.Converter.setUtcFormatOffsetAlleged()  sets the offset from 
    10341034        //  UTC, in minutes, to claim that a Date object represents during 
    10351035        //  formatting, even though it is formatted using local time.  This merely 
     
    11411141        })( this ); // AnyTime.Converter construction 
    11421142 
    1143     }; // AnyTime.Converter =  
     1143    }; // AnyTime.Converter = 
    11441144 
    11451145//============================================================================= 
     
    12371237//      value for Sunday. 
    12381238// 
    1239 //    hideInput - if true, the <input> is "hidden" (the picker appears in  
     1239//    hideInput - if true, the <input> is "hidden" (the picker appears in 
    12401240//      its place). This actually sets the border, height, margin, padding 
    12411241//      and width of the field as small as possivle, so it can still get focus. 
     
    20122012                        oH = oHmax; 
    20132013                        this.oBody.height( oH - (title.AnyTime_height( true ) + oBHS) ); 
    2014                         this.oBody.width( this.oBody.width() + 20 ); // add nominal px for scrollbar  
     2014                        this.oBody.width( this.oBody.width() + 20 ); // add nominal px for scrollbar 
    20152015                        this.oDiv.width( this.oDiv.width() + 20 ); 
    20162016                        if( __msie6 || __msie7 ) // IE bugs! 
     
    21692169            //  the div is clicked (shorter delays don't always work!)  To prevent 
    21702170            //  problems cause by scrollbar focus (except in FF), focus is 
    2171             //  force-restored if the offset div is visible.  
     2171            //  force-restored if the offset div is visible. 
    21722172            //--------------------------------------------------------------------- 
    21732173 
     
    23362336            //  * Ctrl+Home moves focus to the first day of the year. 
    23372337            //  * Ctrl+End moves focus to the last day of the year. 
    2338             //  * Esc closes a DatePicker that is opened as a Popup.   
     2338            //  * Esc closes a DatePicker that is opened as a Popup. 
    23392339            // 
    23402340            //  The following actions (for multiple-date selection) are NOT 
    23412341            //  supported: 
    2342             //  * Shift+Arrow performs continous selection.   
     2342            //  * Shift+Arrow performs continous selection. 
    23432343            //  * Ctrl+Space multiple selection of certain days. 
    23442344            // 
     
    23502350            //  * RightArrow moves focus right or down to next value or field. 
    23512351            //  * UpArrow moves focus up or left to previous value or field. 
    2352             //  * DownArrow moves focus down or right to next value or field  
     2352            //  * DownArrow moves focus down or right to next value or field 
    23532353            //  * PageUp moves focus to the current value in the previous units 
    23542354            //    (for example, from ten-minutes to hours or one-minutes to 
    23552355            //    ten-minutes or months to years). 
    23562356            //  * PageDown moves focus to the current value in the next units 
    2357             //    (for example, from hours to ten-minutes or ten-minutes to  
     2357            //    (for example, from hours to ten-minutes or ten-minutes to 
    23582358            //    one-minutes or years to months). 
    23592359            //  * Home moves the focus to the first unit button. 
Note: See TracChangeset for help on using the changeset viewer.