Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Dayjs Buddhist Era #108

Open
juislip opened this issue Sep 25, 2023 · 0 comments
Open

Extend Dayjs Buddhist Era #108

juislip opened this issue Sep 25, 2023 · 0 comments

Comments

@juislip
Copy link

juislip commented Sep 25, 2023

Your Datepicker library is truly impressive, and I have a deep appreciation for it. I am a developer from Thailand. While using it, I wanted to change the date format to the Buddhist Era, but I couldn't find this information in the documentation. Upon examining the source code, I discovered that your library utilizes dayjs to handle date formatting. Would it be possible for you to consider adding support for the Buddhist Era format into dayjs?

https://day.js.org/docs/en/plugin/buddhist-era

JS code

vue-datepicker/src/components/VDPicker/utils/dayjs.js

import buddhistEra from 'dayjs/plugin/buddhistEra';

dayjs.extend(buddhistEra);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant