Skip to content

Commit b1b3819

Browse files
committed
Whitespace
1 parent c1773c3 commit b1b3819

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

datepicker-rewrite/date.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
22
* Calendar math built on jquery-global
3-
*
3+
*
44
* Based on Marc Grabanski's jQuery Date Plugin
55
* http://marcgrabanski.com/articles/jquery-date-plugin
66
*/
77
(function( $, undefined ) {
8-
8+
99
if ( typeof( $.global.culture ) == "undefined" ) {
1010
$.global.culture = $.global.cultures[ "default" ];
1111
}
@@ -23,16 +23,16 @@ $.date = function ( datestring, formatstring ) {
2323
setFormat: function( formatstring ) {
2424
if ( formatstring ) {
2525
format = formatstring;
26-
}
26+
}
2727
return this;
2828
},
2929
setDay: function( day ) {
3030
date = new Date( date.getFullYear(), date.getMonth(), day );
3131
return this;
3232
},
3333
adjust: function( period, offset ) {
34-
var day = period == "D" ? date.getDate() + offset : date.getDate(),
35-
month = period == "M" ? date.getMonth() + offset : date.getMonth(),
34+
var day = period == "D" ? date.getDate() + offset : date.getDate(),
35+
month = period == "M" ? date.getMonth() + offset : date.getMonth(),
3636
year = period == "Y" ? date.getFullYear() + offset : date.getFullYear();
3737
date = new Date( year, month, day );
3838
return this;
@@ -144,4 +144,4 @@ $.date = function ( datestring, formatstring ) {
144144

145145
var today = $.date();
146146

147-
}( jQuery ));
147+
}( jQuery ));

0 commit comments

Comments
 (0)