20190331 release

This commit is contained in:
AllenFang
2019-03-31 16:09:45 +08:00
parent 56d2d86097
commit a36e8ad928
2 changed files with 26 additions and 1 deletions

View File

@@ -134,7 +134,7 @@ const columns = [
if (typeof cell !== 'object') {
dateObj = new Date(cell);
}
return `${('0' + dateObj.getDate()).slice(-2)}/${('0' + (dateObj.getMonth() + 1)).slice(-2)}/${dateObj.getFullYear()}`;
return `${('0' + dateObj.getUTCDate()).slice(-2)}/${('0' + (dateObj.getUTCMonth() + 1)).slice(-2)}/${dateObj.getUTCFullYear()}`;
},
editor: {
type: Type.DATE

View File

@@ -0,0 +1,25 @@
---
title: New Release (2019-03-31)
author: Allen Fang
authorURL: https://twitter.com/allenfang_tw
---
## Changed Packages
We got following package version bump in this release:
* `react-bootstrap-table-next@3.1.0`
* `react-bootstrap-table2-editor@1.2.3`
* `react-bootstrap-table2-filter@1.1.8`
## Changelog
### Bug fixes
N/A
### Features
* Animation on expand/collapse row([#861](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/861))
### Enhancements
* Get Date information via UTC methods([#874](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/874))