vue-datetime
Version:
Mobile friendly datetime picker for Vue. Supports date, datetime and time modes, i18n and disabling dates.
157 lines (138 loc) • 15.9 kB
Markdown
### Changelog
All notable changes to this project will be documented in this file.
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v1.0.0-beta.8](https://github.com/mariomka/vue-datetime/compare/v1.0.0-beta.7...v1.0.0-beta.8)
> 14 October 2018
- Fix min/max [`0466724`](https://github.com/mariomka/vue-datetime/commit/0466724360d90083cede24c940711691d7a4fd68)
- Fix code style [`caa4cd2`](https://github.com/mariomka/vue-datetime/commit/caa4cd2d7d56a9ab2e2634cede7d14635be20d6d)
- Fix min/max + [`bc28704`](https://github.com/mariomka/vue-datetime/commit/bc28704958199177cc63864d669029a8a83d04e8)
#### [v1.0.0-beta.7](https://github.com/mariomka/vue-datetime/compare/v1.0.0-beta.6...v1.0.0-beta.7)
> 14 October 2018
- Tweak time picker [`3068f46`](https://github.com/mariomka/vue-datetime/commit/3068f46c3ab3dfb42e312b0200d26916a6429129)
- time only spec [`1d2454c`](https://github.com/mariomka/vue-datetime/commit/1d2454c553375e7c3193bfa9cfa6639c2e2feb03)
- Add tests [`00a2603`](https://github.com/mariomka/vue-datetime/commit/00a2603d9695cc1b85588618b2b6c324c5af42a6)
- Update tests [`ae5ef11`](https://github.com/mariomka/vue-datetime/commit/ae5ef118cc408c9788a6d9d3ddef35f51a7c5776)
- Added tests [`84f2b04`](https://github.com/mariomka/vue-datetime/commit/84f2b041d578b3a212f8314898f625cfcdb8ffd4)
- Disable invalid year in yearpicker [`76fd1d9`](https://github.com/mariomka/vue-datetime/commit/76fd1d99f747032b150e76a5eff67d9807a65d6a)
- Respect min date on default selection [`f8e40ea`](https://github.com/mariomka/vue-datetime/commit/f8e40ead674b7d52a6e9dc7c75b221bd27daf23f)
- Added support for named slots [`13ad825`](https://github.com/mariomka/vue-datetime/commit/13ad825dd980dfe70abc723e740ca1dde09d0552)
- time support [`35a0a13`](https://github.com/mariomka/vue-datetime/commit/35a0a1377cea97e3eeb2e5477bb25b14b244941c)
- added setting value via hidden input [`56eb53e`](https://github.com/mariomka/vue-datetime/commit/56eb53eeac48d2df579ee07f622e94af3a942985)
- Fix code style [`87f650f`](https://github.com/mariomka/vue-datetime/commit/87f650f72130d4f4c6ca2b51342a49010de2dbcd)
- fix specs and dupe headers [`077e82a`](https://github.com/mariomka/vue-datetime/commit/077e82af109755da8f204bd741c1ae9ebe385aa4)
- Simplify test [`93f08e2`](https://github.com/mariomka/vue-datetime/commit/93f08e2796a4563009dbdf32a06d730efe5d3d87)
- Fix datetime popup display bug when using UTC zone [`598253e`](https://github.com/mariomka/vue-datetime/commit/598253e48c8f7e0b8ae96a7d7fe96c102ae5cc4a)
- Fix min/max calendar test [`fb48c1c`](https://github.com/mariomka/vue-datetime/commit/fb48c1c6226d6ecabccb9974bad9aa495f5b6cd7)
- Fix case [`fc4a5fb`](https://github.com/mariomka/vue-datetime/commit/fc4a5fb76b50c6b802c92b113d763794d43261db)
- tweaks [`2b8ebed`](https://github.com/mariomka/vue-datetime/commit/2b8ebed08764ba39099212b63b4a532f2785acd6)
- Removed forgotten comments :( [`bc583bf`](https://github.com/mariomka/vue-datetime/commit/bc583bf2556feac6f8e0da80ab73f1ba4bc95b07)
#### [v1.0.0-beta.6](https://github.com/mariomka/vue-datetime/compare/v1.0.0-beta.5...v1.0.0-beta.6)
> 9 July 2018
- Add empty days at the end of the month to complete the week [`#72`](https://github.com/mariomka/vue-datetime/pull/72)
- Merge branch 'v1.x' of https://github.com/coreycoburn/vue-datetime into coreycoburn-v1.x [`#56`](https://github.com/mariomka/vue-datetime/issues/56)
- Add test `should pass datetime to popup` [`9a22b1e`](https://github.com/mariomka/vue-datetime/commit/9a22b1e4c18175d24ea9961994a877bbd9e1dafb)
- Add `input-id` parameter to avoid id collisions [`d3d9797`](https://github.com/mariomka/vue-datetime/commit/d3d979771b5d51b5c0f961a758bb7eef04597107)
- Simplify roundMinute code [`3e28c20`](https://github.com/mariomka/vue-datetime/commit/3e28c2064d1cbe01dbc5ee1986bdacf4eebac6ed)
- Remove seconds and milliseconds when new date is created [`4895a21`](https://github.com/mariomka/vue-datetime/commit/4895a2189717aa526a33c0b99d7d779a4212e8ff)
#### [v1.0.0-beta.5](https://github.com/mariomka/vue-datetime/compare/v1.0.0-beta.4...v1.0.0-beta.5)
> 9 July 2018
- Add close event [`5fe6a20`](https://github.com/mariomka/vue-datetime/commit/5fe6a20f31d5c29190e0c4ef998a9e50f0d2e7b6)
- Update luxon to v1.x [`06783cf`](https://github.com/mariomka/vue-datetime/commit/06783cf1716d3eda92c820f0da4d880389199aa7)
- Fix test [`2d93a6e`](https://github.com/mariomka/vue-datetime/commit/2d93a6e129847b652c20557e2950a539f1a37f6b)
#### [v1.0.0-beta.4](https://github.com/mariomka/vue-datetime/compare/v1.0.0-beta.3...v1.0.0-beta.4)
> 8 July 2018
- apply default rounded time when using minute step - resolves #56 [`#56`](https://github.com/mariomka/vue-datetime/issues/56)
- Generate hidden input with raw value when name is passed [`32f8744`](https://github.com/mariomka/vue-datetime/commit/32f87444285396152f04fc2cc4b10dce31c437a3)
- macro tokens are supported. [`5db1a70`](https://github.com/mariomka/vue-datetime/commit/5db1a70b532476e1481123a792bf3dd4ffd39844)
- Add test for macro tokens format [`d995e02`](https://github.com/mariomka/vue-datetime/commit/d995e02a9a9c86915a25ed83993f286b3fdc1a1c)
- Fix value formatting with `type=date` and specified time zone [`522b19d`](https://github.com/mariomka/vue-datetime/commit/522b19d5c3780b26a1158dd794c249eb51a75dd8)
- Rename `name` attribute by `hidden-name` [`f06fc41`](https://github.com/mariomka/vue-datetime/commit/f06fc41ff4b4377793f6541c9ca0af63e2359e91)
- Update readme [`4bcbeef`](https://github.com/mariomka/vue-datetime/commit/4bcbeef72201ea899903ec4eb9d59ec75d0bad1b)
- Fix time zone for macro tokens format [`f868eb6`](https://github.com/mariomka/vue-datetime/commit/f868eb636472bdf059d832b95cf71dc7a9559f66)
- fix format describe [`c2a3456`](https://github.com/mariomka/vue-datetime/commit/c2a34563d7b8b3015dd4437d5f76d1473f87ee89)
- fix format describe [`5f44166`](https://github.com/mariomka/vue-datetime/commit/5f441666159a1c98cf65b59ec1fe749e14af173c)
- Macro tokens are supported. [`74deb7d`](https://github.com/mariomka/vue-datetime/commit/74deb7dc264ff7342e6595ebc1d02159208d8b72)
#### [v1.0.0-beta.3](https://github.com/mariomka/vue-datetime/compare/v1.0.0-beta.2...v1.0.0-beta.3)
> 3 February 2018
- Add 12/24 hour format option to the time picker. [`#39`](https://github.com/mariomka/vue-datetime/pull/39)
- Update issue template [`4c5de6d`](https://github.com/mariomka/vue-datetime/commit/4c5de6d79a8d56f9ee41fef5001035bcf7ce446e)
- Fix demo example code [`2a5944f`](https://github.com/mariomka/vue-datetime/commit/2a5944f4fd1f0393147367ef9e80477529e7d2bd)
#### [v1.0.0-beta.2](https://github.com/mariomka/vue-datetime/compare/v1.0.0-beta.1...v1.0.0-beta.2)
> 23 January 2018
- Add `week-start` parameter [`6cb9279`](https://github.com/mariomka/vue-datetime/commit/6cb92797ec9140b02adb5566bdd9dfd5b4869b0c)
- Update demo [`057f87a`](https://github.com/mariomka/vue-datetime/commit/057f87a13d66890df4cc967134f193147acd53ea)
- Fix issue with value time zone [`035d4da`](https://github.com/mariomka/vue-datetime/commit/035d4daeb7d6bd8d051f97458c68707941c9870b)
- Refactoring calendar new date [`d82d09c`](https://github.com/mariomka/vue-datetime/commit/d82d09c82cabb90dda2d7fc876f106edc8c2af5f)
- Rename `date` by `datetime` in `Datetime.vue` [`296f2c0`](https://github.com/mariomka/vue-datetime/commit/296f2c01b92e14dd628e5d667963cd79d1f63705)
- Refactoring [`7d40f6f`](https://github.com/mariomka/vue-datetime/commit/7d40f6fd4d55e1b37b9fa2f4332b758b464f93f5)
- Rename and improve `clearTime` util [`ccd80f5`](https://github.com/mariomka/vue-datetime/commit/ccd80f5ed1f7453993fc11e441b941c13d3c312d)
- Fix demo webpack [`579096d`](https://github.com/mariomka/vue-datetime/commit/579096ddb528e6a7db4c2ad157a13995f5c9a775)
- Add `luxon` in rollup globals config [`46551bf`](https://github.com/mariomka/vue-datetime/commit/46551bfb6680605c24f9731896224977af378801)
- Add demo link to readme [`44c667f`](https://github.com/mariomka/vue-datetime/commit/44c667fcd9ee5927581f886902ae438488567296)
- Remove auto-changelog limit [`f972692`](https://github.com/mariomka/vue-datetime/commit/f9726929820e3666a9d968c080277c0e0673c0a1)
#### [v1.0.0-beta.1](https://github.com/mariomka/vue-datetime/compare/v1.0.0-alpha.8...v1.0.0-beta.1)
> 19 January 2018
- Cancel popup on key down ESC or TAB [`47c8fca`](https://github.com/mariomka/vue-datetime/commit/47c8fcaf21bf53779f6549bf955ba27baddefd0a)
- Close popup on press ESC key [`072063f`](https://github.com/mariomka/vue-datetime/commit/072063fbab008a1d9c0081b5418a385b40de3623)
- Continue or confirm popup on key down ENTER [`ff281ca`](https://github.com/mariomka/vue-datetime/commit/ff281cab340bc34e2bd7098f72a3ac9ef912aace)
- Fix auto on select time [`69edaaa`](https://github.com/mariomka/vue-datetime/commit/69edaaa3403a664779c026b72a7b1beec06e115c)
- On open popup blur input [`5155ac7`](https://github.com/mariomka/vue-datetime/commit/5155ac7651922bab7a245886df1cafc81d4d1f3a)
#### [v1.0.0-alpha.8](https://github.com/mariomka/vue-datetime/compare/v1.0.0-alpha.7...v1.0.0-alpha.8)
> 18 January 2018
- Value will be an empty string instead of null when the date is empty or invalid because value type is a string. [`3fa3463`](https://github.com/mariomka/vue-datetime/commit/3fa346337cc6266b532c4373142429431fe9972e)
- Update luxon peer dependency version [`2dd13b2`](https://github.com/mariomka/vue-datetime/commit/2dd13b2f8f445c1994d1e4afddedb31006c4417b)
#### [v1.0.0-alpha.7](https://github.com/mariomka/vue-datetime/compare/v1.0.0-alpha.6...v1.0.0-alpha.7)
> 18 January 2018
- Watch value changes [`d58b910`](https://github.com/mariomka/vue-datetime/commit/d58b9109197fcef0334c783130df002760270bd7)
- Update readme and issue template [`8adff3d`](https://github.com/mariomka/vue-datetime/commit/8adff3df24f009048ae0d8beb07b78ef14d1a5f2)
- Ignore all vue devtools globals in mocha [`7daee98`](https://github.com/mariomka/vue-datetime/commit/7daee98d505f683ae7d8cd31035676ab5b03097b)
- Update issue template [`b525ff6`](https://github.com/mariomka/vue-datetime/commit/b525ff62f2ae855eb4a9e5ccda96972821b06b59)
#### [v1.0.0-alpha.6](https://github.com/mariomka/vue-datetime/compare/v1.0.0-alpha.5...v1.0.0-alpha.6)
> 16 January 2018
- Add `auto` property [`8d6cec3`](https://github.com/mariomka/vue-datetime/commit/8d6cec3a45e8ce26e7eb0a5ffef7a410167b3809)
- Update readme [`cef7afe`](https://github.com/mariomka/vue-datetime/commit/cef7afe4a4ef7db80209bf48f5dff4bfddbc8254)
- Update luxon to v0.3.1 [`635be46`](https://github.com/mariomka/vue-datetime/commit/635be467a24f760a76e46414660d306f328ea671)
- Fix local time zone test [`e35cec1`](https://github.com/mariomka/vue-datetime/commit/e35cec180762fd15adf359a31eb47eac07a13970)
- Add travis config [`f0289e9`](https://github.com/mariomka/vue-datetime/commit/f0289e96278ddfa2997be8f2bd7812a6784b77f5)
- Fix Datetime types tests [`0e6663c`](https://github.com/mariomka/vue-datetime/commit/0e6663c07c9b40e21646e32dee16982a9a8cd8d5)
- Add shields to readme [`a0af5e3`](https://github.com/mariomka/vue-datetime/commit/a0af5e3ebe242c217bd35b313f3af0839ddd7444)
- Fix license and coverage link [`109a5be`](https://github.com/mariomka/vue-datetime/commit/109a5be52020d7d49dd376bd6a6b36af53470d9e)
- Add `codecov` to travis configuration [`122a301`](https://github.com/mariomka/vue-datetime/commit/122a3010b86cfec4b9abd243b40297c63e229dfd)
- Add demo gif [`e528f9e`](https://github.com/mariomka/vue-datetime/commit/e528f9e3f9c90a0627326cec293e63fa78e01b16)
- Fix shields [`9356b3f`](https://github.com/mariomka/vue-datetime/commit/9356b3f1b29f14310dd739d12fa9bf181b0339af)
#### [v1.0.0-alpha.5](https://github.com/mariomka/vue-datetime/compare/v1.0.0-alpha.4...v1.0.0-alpha.5)
> 15 January 2018
- Fix popup time zone [`787752f`](https://github.com/mariomka/vue-datetime/commit/787752f1f48f5a52a55e6440ed86a844d0a49870)
- Add `input-class` property [`b94c355`](https://github.com/mariomka/vue-datetime/commit/b94c3554731b2323a4b3050b873737a02773b71b)
- Add issue template [`c0c6057`](https://github.com/mariomka/vue-datetime/commit/c0c605734295413c5135d194f8dd3eb8c1985168)
#### [v1.0.0-alpha.4](https://github.com/mariomka/vue-datetime/compare/v1.0.0-alpha.3...v1.0.0-alpha.4)
> 15 January 2018
- Reformat code [`6391d30`](https://github.com/mariomka/vue-datetime/commit/6391d30f3d778bd55d9e72fd4ad89c60190a8660)
- Add minimum and maximum datetimes. [`5467eec`](https://github.com/mariomka/vue-datetime/commit/5467eec5125b8f3eea605bca3fc57fafb9d473e2)
- Clear time when type is date [`317d0b4`](https://github.com/mariomka/vue-datetime/commit/317d0b4f2b1a3f53daa35fcc1f1589ed80c89f7d)
- Add notice and todo to readme [`6a8855b`](https://github.com/mariomka/vue-datetime/commit/6a8855b0a970972b0992c8e840efcb13637f2ca8)
- Refactor utils [`45a82a3`](https://github.com/mariomka/vue-datetime/commit/45a82a3db8cdb61cd89aa354e1cfd8cc1d899851)
- Update readme parameters section [`4461ab5`](https://github.com/mariomka/vue-datetime/commit/4461ab5340d69b4c959fa4b7007659ef7e0f81e3)
- Add `__VUE_DEVTOOLS_TOAST__` to accepted global variables names in mocha. [`1b40d2f`](https://github.com/mariomka/vue-datetime/commit/1b40d2f0f515c65ee5bc49e6ab9c676ea35a7d96)
#### [v1.0.0-alpha.3](https://github.com/mariomka/vue-datetime/compare/v1.0.0-alpha.2...v1.0.0-alpha.3)
> 25 December 2017
#### [v1.0.0-alpha.2](https://github.com/mariomka/vue-datetime/compare/v1.0.0-alpha.1...v1.0.0-alpha.2)
> 25 December 2017
- Add year picker [`c7766c8`](https://github.com/mariomka/vue-datetime/commit/c7766c837bb54ccadbfa6007a7891c7ddea6426d)
- Update `phrases` test [`c056826`](https://github.com/mariomka/vue-datetime/commit/c056826b5876f5355d02830600b5670b68628614)
- Pass time steps from date picker to time picker through the popup. [`fd2d338`](https://github.com/mariomka/vue-datetime/commit/fd2d338a731bb3a659fb5ed754b4f87c053d9b7d)
- Fix tests [`539a5cf`](https://github.com/mariomka/vue-datetime/commit/539a5cfc094b0c980e3d40844d2f5a8f6c7c1f0f)
- Refactor flow [`7b19f2f`](https://github.com/mariomka/vue-datetime/commit/7b19f2ffaa2106eb81a84c54e443c9405c3ed679)
- Rename `i18n` prop by `phrases` and add it to `Datetime` component [`46e10ff`](https://github.com/mariomka/vue-datetime/commit/46e10ffff0bded97554a99836c512f8da99546a1)
- Add `auto-changelog` package to auto generate changelog on every version [`db2b5ea`](https://github.com/mariomka/vue-datetime/commit/db2b5eab7678fee07c0fa97f4084d9b3468fbac2)
- Update readme [`d882209`](https://github.com/mariomka/vue-datetime/commit/d8822092c9cd99f1748f0faf5eb0ed758ab19da1)
- Remove `wrapper-class` and `input-class` props. Use `class` attribute instead. [`5017b63`](https://github.com/mariomka/vue-datetime/commit/5017b6374486f0cd78f3b508fc495fbdc6185390)
- Refactor how years, hours and minutes are generated. [`e3e5429`](https://github.com/mariomka/vue-datetime/commit/e3e54296b0e9ef7dceed7bba4661d8b6c9f2e532)
- Update readme [`5d60ed3`](https://github.com/mariomka/vue-datetime/commit/5d60ed3bc0f937dc6e380c0dc25d8b9b4677812e)
- Update readme [`63c1c43`](https://github.com/mariomka/vue-datetime/commit/63c1c43d0d91edf8c4f437317a1fb6e06a1ec194)
- Fix transition z-index issue [`9ac6aa9`](https://github.com/mariomka/vue-datetime/commit/9ac6aa9d9b6ab23d826e913a998ae3cac466bccc)
- Remove unused prop [`c709478`](https://github.com/mariomka/vue-datetime/commit/c7094782a9b24702f2ae12f8c99441336837e746)
- Remove duplicated year from header [`f2ba651`](https://github.com/mariomka/vue-datetime/commit/f2ba651edad9392759883482f8d53d84bebe252c)
- Update readme [`d04236a`](https://github.com/mariomka/vue-datetime/commit/d04236ac20954901eb9808c07d754514d53f97f4)
#### v1.0.0-alpha.1
> 20 December 2017