docs(datepicker): add a guide on creating custom date adapters #19044
Labels
area: material/datepicker
docs
This issue is related to documentation
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
I want to use my own timezone for selected dates in mat date picker. After researching my best option was to write my own parser to use my desired time zone in adapter. Currently the parser only runs when I input in field whereas it should also run when selecting date from toggle box. There are currently many threads on different platform with similar requirements. Kindly update your angular docs with suitable example or give us the example up here to provide timezone on mat date picker.
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-edvxsk
Steps to reproduce:
Expected Behavior
Parser function should also run when selecting date from toggle box.
Actual Behavior
Parser only runs when I input in field
The text was updated successfully, but these errors were encountered: