diff --git a/docs/basic-celledit.md b/docs/basic-celledit.md index 0c1af40..e679016 100644 --- a/docs/basic-celledit.md +++ b/docs/basic-celledit.md @@ -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 diff --git a/website/blog/2019-03-31-version-bump.md b/website/blog/2019-03-31-version-bump.md new file mode 100644 index 0000000..2f0c759 --- /dev/null +++ b/website/blog/2019-03-31-version-bump.md @@ -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)) \ No newline at end of file