vue-luxon
vue-luxon copied to clipboard
Easy use of datetime with Luxon in Vue
I'm having issues using this component with Vue 3. Is that because Vue 3 is not supported? ``` Uncaught TypeError: Vue.prototype is undefined install main.js:28 use runtime-core.esm-bundler.js:2945 main.js:10 js app.js:41...
Plain `luxon` `DateTime` objects provide a boolean `.isValid` property indicating whether the input date is a valid date. What is a good way to find out if the input date...
It would be great if this package provides type-definition to use it in TypeScript projects (or as community types in `@types/vue-luxon`).
I want to use this wrapper but how can I use the luxon docs formatting in vue templates? like this one: (https://github.com/moment/luxon/blob/master/docs/formatting.md) ``` DateTime.fromISO('2014-08-06T13:07:04.054').toFormat('yyyy LLL dd'); //=> '2014 Aug 06'...
Following the [npmjs page](https://www.npmjs.com/package/vue-luxon), it seems that `vue-luxon` is licensed by MIT. If this is correct you should add the LICENSE to the repository. (see https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository)
Is there a way to get the current time and add/subtract days through your package or would I have to import DateTime from luxon to do so? If your package...
When using the filter on a luxon object, the error here gets triggered https://github.com/casbloem/vue-luxon/blob/1c59c7002dc6e48aa93ba47987bd4f79055a1112/src/main.js#L9 Take the following code: `{{ dates.selected | luxon }}` where dates.selected is an instance of DateTime....