williamtroup / Calendar.js

πŸ“… A javascript drag & drop event calendar, that is fully responsive and compatible with all modern browsers.
https://calendar-js.com
MIT License
478 stars 33 forks source link

The Chinese interface does not have the reading habit of adding a suffix after the date. #201

Closed ZhangChengLin closed 7 months ago

ZhangChengLin commented 7 months ago

https://github.com/williamtroup/Calendar.js/blob/ddb4e88fdb0c21dd65ea208a625ede76f208adc2/src/calendar.js#L14152-L14155

These are set to a single blank character (space bar) to achieve the following style of removing the default suffix.

The interface for other languages ​​is not clear, but Chinese does not have this reading habit. I will submit a translation PR later to change the status quo.

ZhangChengLin commented 7 months ago

Can we omit those default holidays? In other languages, those holidays may not be appropriate.

williamtroup commented 7 months ago

Can we omit those default holidays? In other languages, those holidays may not be appropriate.

Yes, you can set the holidays manually using "addHolidays()" and "removeHolidays()".

williamtroup commented 7 months ago

Will be fixed in v2.10.8.

williamtroup commented 7 months ago

Fixed and released.