mat-datetimepicker
mat-datetimepicker copied to clipboard
Support for Luxon
Hey guys, I really appreciate your work and would like to contribute to your project with this little script.
https://gist.github.com/wakonp/e714ccd3384c16becf124e06216be0f3
Maybe you can add the support for Luxon. The DateTimeAdapter uses the same Options provided in this library https://github.com/andreialecu/ngx-material-luxon
this looks interesting indeed! i will take a look at it..
hi @wakonp, I finally found time to look at your adapter. I've never heard of luxon, but looked it up and it sounds great. the code looks fine to me in general, why don't you want to submit a PR yourself? from what I see..
- [ ] this requires a second subproject (you can roughly copy
@mat-datetimepicker/moment), - [ ] the formats are missing,
- [ ] an example must be added (
src/app/luxon, copy fromsrc/app/momentas well) - [ ] and an additional section in
README.md. - [ ] you'd also have to include the new module in some scripts for publishing (
package.json,.github/workflows).
I can help you out if you have any questions, of course. but for now I myself will rather be focused on the ~40 remaining but reports..