Hi there, we're working on a date implementation / date adapter for Angular Material based on Day.js.
Day.js is a date library which has much better treeshaking capabilities than Moment.js, thus reducing your bundle size greatly, but still offers the same amount of great features.
Recently we have also implemented support for locales, so this should by now be a reasonable alternative to the Moment date adapter.
Therefore I would like to propose mentioning this date adapter in the list of date implementations in your documentation.
Suggested addition to the documentation:
Module: MatDayjsDateModule
Date type: Dayjs
Supported locales: See project
Dependencies: Day.js
Import from: @tabuckner/material-dayjs-adapter
P.S. we have also implemented the MAT_DATE_FORMATS provider
Let us know what you think.
Affected documentation page: https://material.angular.io/components/datepicker/overview#choosing-a-date-implementation-and-date-format-settings
Happy to submit a PR to update the documentation if that makes things any easier. 馃槃
Tracking this in #20599 going forward
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Happy to submit a PR to update the documentation if that makes things any easier. 馃槃