Changeset 779 for tapas/web/resources/js/calendar/anytime.js
- Timestamp:
- 04/01/14 16:56:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tapas/web/resources/js/calendar/anytime.js
r409 r779 213 213 // ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] 214 214 // 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 216 216 // desired abbreviation for Sunday. 217 217 // … … 279 279 // %: - the timezone offset, with a sign, in hours and minutes, in 280 280 // 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. 282 282 // To remember the difference between %: and %;, it might be helpful 283 283 // to remember that a colon (:) has a period (.) on the bottom and … … 286 286 // %: might be a longer string than %; (I know it's a stretch, but 287 287 // it's easier than looking it up every time)! 288 // 288 // 289 289 // %- - the timezone offset, with a sign, in hours and minutes, in 290 290 // three-or-four-digit, 24-hour format with no delimiter (for … … 296 296 // 297 297 // %@ - 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 299 299 // minutes, in four-digit, 24-hour format with a colon delimiter 300 300 // (for example, UTC+05:30). However, if Any+Time(TM) has been … … 355 355 // utcParseOffsetCapture - if true, any parsed string is always treated as 356 356 // 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 358 358 // getUtcParseOffsetCaptured() method. If the %@ format specifier is 359 359 // used, the sub-index of any matched label is also captured for return … … 361 361 // AnyTime.picker can edit the time as specified (without conversion to 362 362 // 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). 364 364 //============================================================================= 365 365 … … 1031 1031 1032 1032 //------------------------------------------------------------------------- 1033 // AnyTime.Converter.setUtcFormatOffsetAlleged() sets the offset from 1033 // AnyTime.Converter.setUtcFormatOffsetAlleged() sets the offset from 1034 1034 // UTC, in minutes, to claim that a Date object represents during 1035 1035 // formatting, even though it is formatted using local time. This merely … … 1141 1141 })( this ); // AnyTime.Converter construction 1142 1142 1143 }; // AnyTime.Converter = 1143 }; // AnyTime.Converter = 1144 1144 1145 1145 //============================================================================= … … 1237 1237 // value for Sunday. 1238 1238 // 1239 // hideInput - if true, the <input> is "hidden" (the picker appears in 1239 // hideInput - if true, the <input> is "hidden" (the picker appears in 1240 1240 // its place). This actually sets the border, height, margin, padding 1241 1241 // and width of the field as small as possivle, so it can still get focus. … … 2012 2012 oH = oHmax; 2013 2013 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 2015 2015 this.oDiv.width( this.oDiv.width() + 20 ); 2016 2016 if( __msie6 || __msie7 ) // IE bugs! … … 2169 2169 // the div is clicked (shorter delays don't always work!) To prevent 2170 2170 // 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. 2172 2172 //--------------------------------------------------------------------- 2173 2173 … … 2336 2336 // * Ctrl+Home moves focus to the first day of the year. 2337 2337 // * 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. 2339 2339 // 2340 2340 // The following actions (for multiple-date selection) are NOT 2341 2341 // supported: 2342 // * Shift+Arrow performs continous selection. 2342 // * Shift+Arrow performs continous selection. 2343 2343 // * Ctrl+Space multiple selection of certain days. 2344 2344 // … … 2350 2350 // * RightArrow moves focus right or down to next value or field. 2351 2351 // * 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 2353 2353 // * PageUp moves focus to the current value in the previous units 2354 2354 // (for example, from ten-minutes to hours or one-minutes to 2355 2355 // ten-minutes or months to years). 2356 2356 // * 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 2358 2358 // one-minutes or years to months). 2359 2359 // * Home moves the focus to the first unit button.
Note: See TracChangeset
for help on using the changeset viewer.