@@ -49,7 +49,32 @@ function Timepicker() {
49
49
minuteText : 'Minute' ,
50
50
secondText : 'Second' ,
51
51
millisecText : 'Millisecond' ,
52
- timezoneText : 'Time Zone'
52
+ timezoneText : 'Time Zone' ,
53
+ minusEleven : '-11h NUT: Niue Time' ,
54
+ minusTen : '-10h HST: Hawaii Standard Time' ,
55
+ minusNine : '-09h HDT: Hawaii Summer Time' ,
56
+ minusEight : '-08h PST: Pacific Standard Time' ,
57
+ minusSeven : '-07h PDT: Pacific Summer Time' ,
58
+ minusSix : '-06h CST: Central Standard Time (America)' ,
59
+ minusFive : '-05h EST: Eastern Standard Time (America)' ,
60
+ minusFour : '-04h EDT: Eastern Summer Time (America)' ,
61
+ minusThree : '-03h BRT: Brasilia Standard Time' ,
62
+ minusTwo : '-02h BRST: Brasilia Summer Time' ,
63
+ minusOne : '-01h CVT: Cape Verde Time' ,
64
+ plusMinusZero : '±00h UTC: Universal Coordinated Time (Greenwich)' ,
65
+ plusOne : '+01h CET: Central European Standard Time' ,
66
+ plusTwo : '+02h CEST: Central European Summer Time' ,
67
+ plusThree : '+03h AST: Arabia Time' ,
68
+ plusFour : '+04h MSK: Moscow Time' ,
69
+ plusFive : '+05h PKT: Pakistan Time' ,
70
+ plusSix : '+06h BST: Bangladesh Time' ,
71
+ plusSeven : '+07h ICT: Indochina Time' ,
72
+ plusEight : '+08h CST: China Standard Time' ,
73
+ plusNine : '+09h JST: Japan Time' ,
74
+ plusTen : '+10h AEST: Australian Eastern Standard Time' ,
75
+ plusEleven : '+11h AEDT: Australian Eastern Summer Time' ,
76
+ plusTwelve : '+12h NZST: New Zealand Standard Time' ,
77
+ plusThirteen : '+13h NZDT: New Zealand Summer Time'
53
78
} ;
54
79
this . _defaults = { // Global defaults for all the datetime picker instances
55
80
showButtonPanel : true ,
@@ -441,7 +466,7 @@ $.extend(Timepicker.prototype, {
441
466
$ . map ( o . timezoneList , function ( val , idx ) {
442
467
return $ ( "<option />" )
443
468
. val ( typeof val == "object" ? val . value : val )
444
- . text ( typeof val == "object" ? val . label : val ) ;
469
+ . text ( typeof val == "object" ? o [ val . label ] : val ) ;
445
470
} )
446
471
) ;
447
472
this . timezone_select . val ( ( typeof this . timezone != "undefined" && this . timezone != null && this . timezone != "" ) ? this . timezone : o . timezone ) ;
0 commit comments