1
- $ . continuousCalendar = { } ; $ . continuousCalendar . version = '2.0.0 ' ; $ . continuousCalendar . released = '2012-08-19 '
1
+ $ . continuousCalendar = { } ; $ . continuousCalendar . version = '2.0.1 ' ; $ . continuousCalendar . released = '2012-08-23 '
2
2
/* ==============================================================================
3
3
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
4
4
* use this file except in compliance with the License. You may obtain a copy of
@@ -14,7 +14,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
14
14
*/
15
15
; ( function ( root , factory ) {
16
16
if ( typeof define === "function" && define . amd ) {
17
- define ( "DateTime" , [ ] , factory )
17
+ define ( factory )
18
18
} else {
19
19
root . DateTime = factory ( )
20
20
}
@@ -251,7 +251,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
251
251
252
252
; ( function ( root , factory ) {
253
253
if ( typeof define === "function" && define . amd ) {
254
- define ( "DateLocale" , [ ] , factory )
254
+ define ( factory )
255
255
} else {
256
256
root . DateLocale = factory ( )
257
257
}
@@ -277,7 +277,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
277
277
'lokakuu' ,
278
278
'marraskuu' ,
279
279
'joulukuu' ] ,
280
- dayNames : [ 'su' , 'ma' , 'ti' , 'ke' , 'to' , 'pe' , 'la' ] ,
280
+ dayNames : [ 'sunnuntai' , 'maanantai' , 'tiistai' , 'keskiviikko' , 'torstai' , 'perjantai' , 'lauantai' ] ,
281
+ shortDayNames : [ 'su' , 'ma' , 'ti' , 'ke' , 'to' , 'pe' , 'la' ] ,
281
282
yearsLabel : function ( years ) { return years + ' ' + ( years == '1' ? 'vuosi' : 'vuotta' ) } ,
282
283
monthsLabel : function ( months ) { return months + ' ' + ( months == '1' ? 'kuukausi' : 'kuukautta' ) } ,
283
284
daysLabel : function ( days ) { return days + ' ' + ( days == '1' ? 'päivä' : 'päivää' ) } ,
@@ -315,7 +316,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
315
316
'Thursday' ,
316
317
'Friday' ,
317
318
'Saturday' ] ,
318
- yearsLabel : function ( years ) { return years + ' ' + ( years == '1' ? 'Year' : 'Years' ) } ,
319
+ shortDayNames : [ 'Sun' , 'Mon' , 'Tue' , 'Wed' , 'Thu' , 'Fri' , 'Sat' ] ,
320
+ yearsLabel : function ( years ) { return years + ' ' + ( years == '1' ? 'Year' : 'Years' ) ; } ,
319
321
monthsLabel : function ( months ) { return months + ' ' + ( months == '1' ? 'Months' : 'Months' ) } ,
320
322
daysLabel : function ( days ) { return days + ' ' + ( days == '1' ? 'Day' : 'Days' ) } ,
321
323
hoursLabel : function ( hours , minutes ) {
@@ -352,7 +354,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
352
354
'Thursday' ,
353
355
'Friday' ,
354
356
'Saturday' ] ,
355
- yearsLabel : function ( years ) { return years + ' ' + ( years == '1' ? 'Year' : 'Years' ) } ,
357
+ shortDayNames : [ 'Sun' , 'Mon' , 'Tue' , 'Wed' , 'Thu' , 'Fri' , 'Sat' ] ,
358
+ yearsLabel : function ( years ) { return years + ' ' + ( years == '1' ? 'Year' : 'Years' ) ; } ,
356
359
monthsLabel : function ( months ) { return months + ' ' + ( months == '1' ? 'Months' : 'Months' ) } ,
357
360
daysLabel : function ( days ) { return days + ' ' + ( days == '1' ? 'Day' : 'Days' ) } ,
358
361
hoursLabel : function ( hours , minutes ) {
@@ -404,7 +407,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
404
407
405
408
; ( function ( root , factory ) {
406
409
if ( typeof define === "function" && define . amd ) {
407
- define ( "DateFormat" , [ " DateTime"] , factory )
410
+ define ( [ "./ DateTime"] , factory )
408
411
} else {
409
412
root . DateFormat = factory ( root . DateTime )
410
413
}
@@ -550,12 +553,12 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
550
553
eval ( code . substring ( 0 , code . length - 3 ) + ";}" )
551
554
}
552
555
553
- DateFormat . getFormatCode = function ( character , locale ) {
556
+ DateFormat . getFormatCode = function ( character ) {
554
557
switch ( character ) {
555
558
case "d" :
556
559
return "DateFormat.leftPad(this.getDate(), 2, '0') + "
557
560
case "D" :
558
- return "locale.dayNames [this.getDay()].substring(0, 3) + "
561
+ return "locale.shortDayNames [this.getDay()] + "
559
562
case "j" :
560
563
return "this.getDate() + "
561
564
case "l" :
@@ -629,7 +632,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
629
632
630
633
; ( function ( root , factory ) {
631
634
if ( typeof define === "function" && define . amd ) {
632
- define ( "DateRange" , [ "jquery" , "DateTime" , "DateFormat" ] , factory )
635
+ define ( [ "jquery" , "./ DateTime" , "./ DateFormat" ] , factory )
633
636
} else {
634
637
root . DateRange = factory ( root . jQuery , root . DateTime , root . DateFormat )
635
638
}
@@ -825,7 +828,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
825
828
826
829
; ( function ( root , factory ) {
827
830
if ( typeof define === 'function' && define . amd ) {
828
- define ( 'jquery.continuous-calendar' , [ 'jquery' , 'DateFormat' , 'DateLocale' , 'DateRange' , 'DateTime' ] , function ( $ , DateFormat , DateLocale , DateRange , DateTime ) {
831
+ define ( [ 'jquery' , './ DateFormat' , './ DateLocale' , './ DateRange' , './ DateTime' ] , function ( $ , DateFormat , DateLocale , DateRange , DateTime ) {
829
832
factory ( $ , DateFormat , DateLocale , DateRange , DateTime )
830
833
} )
831
834
} else {
0 commit comments