Closed aboganas closed 7 years ago
While it'd be nice to have, this feature will go unused for ~99% of users. You are free to fork the calendar and make any changes necessary :+1:
Sorry to reopen this issue but can we have something like this as a compromise:
This can be added as a function to allow adding any arbitrary text under each date just like:
document.getElementById("#subtextCustom").flatpickr({
subtext: [
function(dateObj){
// Code to add alternative date under
return getHijri(dateObj);
}
]
});
First thanks for this beautiful plugin. Ability to support multiple calendars will make this plugin even greater. If it adapt Julian Date as a common reference point, then it is easy to convert dates between the different calendars and make the plugin works for different calendars.
for example, to convert from gregorian to julian and vice versa
and here to convert from Islamic-Hijri to julian and vice versa
**My question what functions that need to be defined for a calendar for the plugin to work correctly? for example:
How hard to achieve such thing?