matheo / angular

Open Source Angular Libraries: MatDataSource, MatDatepicker
http://matheo.co/demos/
MIT License
60 stars 15 forks source link

feat(datepicker): upgrade to luxon v2 #39

Closed matheo closed 2 years ago

pranxy commented 2 years ago

The angular material team has a luxon adapter. Maybe consider using theirs? https://github.com/angular/components/tree/master/src/material-luxon-adapter/adapter

matheo commented 2 years ago

@pranxy they are using @types/luxon v1 for luxon v2, and I get a compilation error in the adapter with the latest version.. tricky case, adapter.format for utc, hard to cover I guess.