mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-05 12:22:26 +03:00
docs: separate changelog zh-cn
This commit is contained in:
+24
-34
@@ -1,3 +1,27 @@
|
||||
<a name="2.5.0"></a>
|
||||
# [2.5.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.4.3...v2.5.0) (2018-10-05)
|
||||
|
||||
### Features
|
||||
|
||||
* add panel-change event ([5cdba7b](https://github.com/mengxiong10/vue2-datepicker/commit/5cdba7b))
|
||||
|
||||
|
||||
<a name="2.4.3"></a>
|
||||
## [2.4.3](https://github.com/mengxiong10/vue2-datepicker/compare/v2.4.0...v2.4.3) (2018-09-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* fix the selectTime 'am' and 'pm' ([8e475b3](https://github.com/mengxiong10/vue2-datepicker/commit/8e475b3))
|
||||
* IE compatibility ([fefed17](https://github.com/mengxiong10/vue2-datepicker/commit/fefed17))
|
||||
* when select time picker option close popup ([#154](https://github.com/mengxiong10/vue2-datepicker/issues/154)) ([12907ad](https://github.com/mengxiong10/vue2-datepicker/commit/12907ad))
|
||||
* year and month disable don't right ([#169](https://github.com/mengxiong10/vue2-datepicker/issues/169)) ([42bc068](https://github.com/mengxiong10/vue2-datepicker/commit/42bc068))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* emit `clear` event for the clear button ([e0776b6](https://github.com/mengxiong10/vue2-datepicker/commit/e0776b6))
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
# [2.4.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.3.2...v2.4.0) (2018-08-08)
|
||||
|
||||
@@ -6,10 +30,6 @@
|
||||
|
||||
* add `type` time to show only time picker ([1046731](https://github.com/mengxiong10/vue2-datepicker/commit/1046731))
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加属性`type`为`time`的时候只显示时间组件
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
## [2.3.2](https://github.com/mengxiong10/vue2-datepicker/compare/v2.2.0...v2.3.2) (2018-08-07)
|
||||
|
||||
@@ -17,10 +37,6 @@
|
||||
|
||||
* add prop `date-format` to format time header and date tooltip ([3c27647](https://github.com/mengxiong10/vue2-datepicker/commit/3c27647))
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加属性 `date-format` 格式化时间组件头部和日期的tooltip
|
||||
|
||||
<a name="2.2.0"></a>
|
||||
# [2.2.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.1.0...v2.2.0) (2018-08-06)
|
||||
|
||||
@@ -32,14 +48,6 @@
|
||||
|
||||
* add event 'change-calendar-year' 'change-calendar-month' ([bc80708](https://github.com/mengxiong10/vue2-datepicker/commit/bc80708))
|
||||
|
||||
### 修复bug
|
||||
* 设置input的autocomplete为off避免下拉框的干扰
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加时间'change-calendar-yeaer', 'change-calendar-month'方便联动两个窗口
|
||||
|
||||
|
||||
<a name="2.1.0"></a>
|
||||
# [2.1.0]() (2018-07-24)
|
||||
|
||||
@@ -47,10 +55,6 @@
|
||||
|
||||
* Add `type` year and month
|
||||
|
||||
### 新特性
|
||||
* 添加`type` 支持月和年的单独选择
|
||||
|
||||
|
||||
<a name="2.0.0"></a>
|
||||
# [2.0.0]() (2018-06-16)
|
||||
|
||||
@@ -68,17 +72,3 @@
|
||||
* remove `custom-formatter`
|
||||
* `editable` default value changes from false to true, now supports range
|
||||
* select the year or month panel will not change the value(Because it causes many problems when set the `not-before` or `not-after`)
|
||||
|
||||
### 新特性
|
||||
* 添加`clearable` 用于控制是否显示清除按钮
|
||||
* 添加 slot `calendar-icon` 自定义日历图标
|
||||
* 添加 slot `header` 和 `footer` 自定义弹出日历的头部和尾部
|
||||
* `disabledDays` 现在支持函数
|
||||
|
||||
### 非兼容性更新
|
||||
|
||||
* 重构代码. 如果你自己hack过代码可能会失效
|
||||
* `format` 默认值由 yyyy-MM-dd 改成 YYYY-MM-DD, 现在格式类似moment.js. 不支持小写的yyyy
|
||||
* 移除了`custom-formatter`
|
||||
* `editable` 默认由false改成true, 现在日历范围也支持手动修改
|
||||
* 当选择年或月的面板的时候不会修改日期(因为当设置了`not-before`或者`not-after`的时候会引发很多问题和bug)
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
<a name="2.5.0"></a>
|
||||
# [2.5.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.4.3...v2.5.0) (2018-10-05)
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加 `panel-change` 事件 ([5cdba7b](https://github.com/mengxiong10/vue2-datepicker/commit/5cdba7b))
|
||||
|
||||
|
||||
<a name="2.4.3"></a>
|
||||
## [2.4.3](https://github.com/mengxiong10/vue2-datepicker/compare/v2.4.0...v2.4.3) (2018-09-28)
|
||||
|
||||
### 修复Bug
|
||||
|
||||
* 修复选择时间时候显示'am', 'pm' ([8e475b3](https://github.com/mengxiong10/vue2-datepicker/commit/8e475b3))
|
||||
* 修复一个IE兼容性问题 ([fefed17](https://github.com/mengxiong10/vue2-datepicker/commit/fefed17))
|
||||
* 当选择一个时间的时候关闭面板 ([#154](https://github.com/mengxiong10/vue2-datepicker/issues/154)) ([12907ad](https://github.com/mengxiong10/vue2-datepicker/commit/12907ad))
|
||||
* 修复年和月的禁用函数错误 ([#169](https://github.com/mengxiong10/vue2-datepicker/issues/169)) ([42bc068](https://github.com/mengxiong10/vue2-datepicker/commit/42bc068))
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加一个`clear`事件 ([e0776b6](https://github.com/mengxiong10/vue2-datepicker/commit/e0776b6))
|
||||
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
# [2.4.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.3.2...v2.4.0) (2018-08-08)
|
||||
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加属性`type`为`time`的时候只显示时间组件
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
## [2.3.2](https://github.com/mengxiong10/vue2-datepicker/compare/v2.2.0...v2.3.2) (2018-08-07)
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加属性 `date-format` 格式化时间组件头部和日期的tooltip
|
||||
|
||||
<a name="2.2.0"></a>
|
||||
# [2.2.0](https://github.com/mengxiong10/vue2-datepicker/compare/v2.1.0...v2.2.0) (2018-08-06)
|
||||
|
||||
### 修复bug
|
||||
|
||||
* 设置input的autocomplete为off避免下拉框的干扰
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加时间'change-calendar-yeaer', 'change-calendar-month'方便联动两个窗口
|
||||
|
||||
|
||||
<a name="2.1.0"></a>
|
||||
# [2.1.0]() (2018-07-24)
|
||||
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加`type` 支持月和年的单独选择
|
||||
|
||||
|
||||
<a name="2.0.0"></a>
|
||||
# [2.0.0]() (2018-06-16)
|
||||
|
||||
### 新功能
|
||||
|
||||
* 添加`clearable` 用于控制是否显示清除按钮
|
||||
* 添加 slot `calendar-icon` 自定义日历图标
|
||||
* 添加 slot `header` 和 `footer` 自定义弹出日历的头部和尾部
|
||||
* `disabledDays` 现在支持函数
|
||||
|
||||
### 非兼容性更新
|
||||
|
||||
* 重构代码. 如果你自己hack过代码可能会失效
|
||||
* `format` 默认值由 yyyy-MM-dd 改成 YYYY-MM-DD, 现在格式类似moment.js. 不支持小写的yyyy
|
||||
* 移除了`custom-formatter`
|
||||
* `editable` 默认由false改成true, 现在日历范围也支持手动修改
|
||||
* 当选择年或月的面板的时候不会修改日期(因为当设置了`not-before`或者`not-after`的时候会引发很多问题和bug)
|
||||
Reference in New Issue
Block a user