diff --git a/build/angular-mighty-datepicker.js b/build/angular-mighty-datepicker.js index fb4df3a..34893c6 100644 --- a/build/angular-mighty-datepicker.js +++ b/build/angular-mighty-datepicker.js @@ -136,7 +136,8 @@ })(); return { weeks: weeks, - name: time.format("MMMM YYYY") + name: time.format("MMMM YYYY"), + number: time.format("MM") }; }; _setup = function() { diff --git a/gulpfile.js b/gulpfile.js index f3cfbd9..3aecafa 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -47,15 +47,6 @@ gulp.task("bower", function() { .pipe(gulp.dest("bower_components")) }); -// compilers - -// gulp.task("copy", function(){ -// return gulp.src(paths.src + "**/*.{json,png,jpg,gif,eot,svg,ttf,woff}") -// .pipe(changed(paths.dst)) -// .pipe(gulp.dest(paths.dst)) -// .pipe(connect.reload()); -// }); - gulp.task("less", function(){ return gulp.src(paths.src + "**/*.less") .pipe(changed(paths.dst, { extension: '.css' })) @@ -79,4 +70,3 @@ gulp.task("coffee", function(){ .pipe(gulp.dest(paths.dst)) .pipe(connect.reload()); }); -// diff --git a/package.json b/package.json index 0466eea..6f6b745 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-mighty-datepicker", - "version": "0.1.4", + "version": "0.1.5", "authors": [ "Krzysztof Jung ", "Patryk Peas ", diff --git a/src/angular-mighty-datepicker.coffee b/src/angular-mighty-datepicker.coffee index 624824b..0290fea 100644 --- a/src/angular-mighty-datepicker.coffee +++ b/src/angular-mighty-datepicker.coffee @@ -132,7 +132,8 @@ angular.module("mightyDatepicker", [ ]).directive "mightyDatepicker", ["$compile _buildWeek(moment(start).add(w, 'weeks'), moment(start).month() ) for w in [0 .. weeksInMonth]) weeks: weeks - name: time.format("MMMM YYYY") + name: time.format("MMMM YYYY"), + number: time.format("MM") _setup = -> tempOptions = {}