Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Commit

Permalink
build: release 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Sep 29, 2017
1 parent ff1baf3 commit f05b267
Show file tree
Hide file tree
Showing 12 changed files with 157 additions and 71 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.6.2 (Sep 29, 2017)

- Fix the issue of days of month computing (#94).

## 0.6.1 (Sep 25, 2017)

- Fix color function error in the CSS.
Expand Down
6 changes: 4 additions & 2 deletions dist/datepicker.common.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Datepicker v0.6.1
* Datepicker v0.6.2
* https://github.com/fengyuanchen/datepicker
*
* Copyright (c) 2014-2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-09-25T13:44:49.877Z
* Date: 2017-09-29T13:39:40.959Z
*/
'use strict';

Expand Down Expand Up @@ -173,6 +173,8 @@ function isLeapYear(year) {
}

function getDaysInMonth(year, month) {
month = (month + 12) % 12;

return [31, isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];
}

Expand Down
4 changes: 2 additions & 2 deletions dist/datepicker.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Datepicker v0.6.1
* Datepicker v0.6.2
* https://github.com/fengyuanchen/datepicker
*
* Copyright (c) 2014-2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-09-25T13:44:45.832Z
* Date: 2017-09-29T13:39:36.324Z
*/
.datepicker-container {
background-color: #fff;
Expand Down
6 changes: 4 additions & 2 deletions dist/datepicker.esm.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Datepicker v0.6.1
* Datepicker v0.6.2
* https://github.com/fengyuanchen/datepicker
*
* Copyright (c) 2014-2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-09-25T13:44:49.877Z
* Date: 2017-09-29T13:39:40.959Z
*/
import $ from 'jquery';

Expand Down Expand Up @@ -169,6 +169,8 @@ function isLeapYear(year) {
}

function getDaysInMonth(year, month) {
month = (month + 12) % 12;

return [31, isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];
}

Expand Down
6 changes: 4 additions & 2 deletions dist/datepicker.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Datepicker v0.6.1
* Datepicker v0.6.2
* https://github.com/fengyuanchen/datepicker
*
* Copyright (c) 2014-2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-09-25T13:44:49.877Z
* Date: 2017-09-29T13:39:40.959Z
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
Expand Down Expand Up @@ -175,6 +175,8 @@ function isLeapYear(year) {
}

function getDaysInMonth(year, month) {
month = (month + 12) % 12;

return [31, isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];
}

Expand Down
4 changes: 2 additions & 2 deletions dist/datepicker.min.css

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

6 changes: 3 additions & 3 deletions dist/datepicker.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/css/datepicker.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Datepicker v0.6.0
* Datepicker v0.6.2
* https://github.com/fengyuanchen/datepicker
*
* Copyright (c) 2014-2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-09-25T13:42:07.254Z
* Date: 2017-09-29T13:39:36.324Z
*/
.datepicker-container {
background-color: #fff;
Expand Down
3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div class="container">
<div class="row">
<div class="col-md">
<h1>Datepicker <small class="h6">v0.6.1</small></h1>
<h1>Datepicker <small class="h6">v0.6.2</small></h1>
<p class="lead">A simple jQuery datepicker plugin.</p>
</div>
<div class="col-md">
Expand Down Expand Up @@ -262,6 +262,7 @@ <h3 class="page-header">Methods</h3>
<a class="nav-link" href="https://github.com/fengyuanchen/datepicker/releases">Releases</a>
<a class="nav-link" href="https://github.com/fengyuanchen/datepicker/blob/master/LICENSE">License</a>
<a class="nav-link" href="http://chenfengyuan.com">About</a>
<a class="nav-link" href="./v0.5.5">v0.5.5</a>
</nav>
</div>
</footer>
Expand Down
6 changes: 4 additions & 2 deletions docs/js/datepicker.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Datepicker v0.6.1
* Datepicker v0.6.2
* https://github.com/fengyuanchen/datepicker
*
* Copyright (c) 2014-2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-09-25T13:44:49.877Z
* Date: 2017-09-29T13:39:40.959Z
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
Expand Down Expand Up @@ -175,6 +175,8 @@ function isLeapYear(year) {
}

function getDaysInMonth(year, month) {
month = (month + 12) % 12;

return [31, isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];
}

Expand Down
Loading

0 comments on commit f05b267

Please sign in to comment.