Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Commit

Permalink
chore(release): 0.19.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lewis committed Mar 26, 2016
1 parent 6ceb332 commit 7bf98bd
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 16 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="0.19.5"></a>
## [0.19.5](https://github.com/mattlewis92/angular-bootstrap-calendar/compare/0.19.4...v0.19.5) (2016-03-26)


### Bug Fixes

* **weekTitle:** use the correct year when the week spans 2 years ([638c741](https://github.com/mattlewis92/angular-bootstrap-calendar/commit/638c741))



<a name="0.19.4"></a>
## [0.19.4](https://github.com/mattlewis92/angular-bootstrap-calendar/compare/0.19.3...v0.19.4) (2016-03-22)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-bootstrap-calendar",
"version": "0.19.4",
"version": "0.19.5",
"homepage": "https://github.com/mattlewis92/angular-bootstrap-calendar",
"authors": [
"Matt Lewis"
Expand Down
2 changes: 1 addition & 1 deletion dist/css/angular-bootstrap-calendar.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-bootstrap-calendar - A pure AngularJS bootstrap themed responsive calendar that can display events and has views for year, month, week and day
* @version v0.19.4
* @version v0.19.5
* @link https://github.com/mattlewis92/angular-bootstrap-calendar
* @license MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/css/angular-bootstrap-calendar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions dist/js/angular-bootstrap-calendar-tpls.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-bootstrap-calendar - A pure AngularJS bootstrap themed responsive calendar that can display events and has views for year, month, week and day
* @version v0.19.4
* @version v0.19.5
* @link https://github.com/mattlewis92/angular-bootstrap-calendar
* @license MIT
*/
Expand Down Expand Up @@ -2062,8 +2062,9 @@ return /******/ (function(modules) { // webpackBootstrap
}

function week(viewDate) {
var weekTitleLabel = calendarConfig.titleFormats.week;
return weekTitleLabel.replace('{week}', moment(viewDate).isoWeek()).replace('{year}', moment(viewDate).format('YYYY'));
return calendarConfig.titleFormats.week
.replace('{week}', moment(viewDate).isoWeek())
.replace('{year}', moment(viewDate).startOf('week').format('YYYY'));
}

function month(viewDate) {
Expand Down
4 changes: 2 additions & 2 deletions dist/js/angular-bootstrap-calendar-tpls.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/angular-bootstrap-calendar-tpls.min.js.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dist/js/angular-bootstrap-calendar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* angular-bootstrap-calendar - A pure AngularJS bootstrap themed responsive calendar that can display events and has views for year, month, week and day
* @version v0.19.4
* @version v0.19.5
* @link https://github.com/mattlewis92/angular-bootstrap-calendar
* @license MIT
*/
Expand Down Expand Up @@ -1979,8 +1979,9 @@ return /******/ (function(modules) { // webpackBootstrap
}

function week(viewDate) {
var weekTitleLabel = calendarConfig.titleFormats.week;
return weekTitleLabel.replace('{week}', moment(viewDate).isoWeek()).replace('{year}', moment(viewDate).format('YYYY'));
return calendarConfig.titleFormats.week
.replace('{week}', moment(viewDate).isoWeek())
.replace('{year}', moment(viewDate).startOf('week').format('YYYY'));
}

function month(viewDate) {
Expand Down
4 changes: 2 additions & 2 deletions dist/js/angular-bootstrap-calendar.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/angular-bootstrap-calendar.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-bootstrap-calendar",
"version": "0.19.4",
"version": "0.19.5",
"license": "MIT",
"repository": "https://github.com/mattlewis92/angular-bootstrap-calendar.git",
"peerDependencies": {
Expand Down

0 comments on commit 7bf98bd

Please sign in to comment.