You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I modify the date format to: 'yy MM dd', customDateFormat display the year in format not ar-SA format with 2 digit with letter (هـ): like (٤٤ هـ ٠٤ ١٠)
What is the right format customDateFormat to get the right format date for example (yyyy-mm-dd) (١٠-٠٤-١٤٤٤ ) without it showing the letter (هـ) instead
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
customDateFormat display the year in en format not ar-SA format:
tempusDominus.extend(window.tempusDominus.plugins.customDateFormat);
const start_date_hijri = new tempusDominus.TempusDominus(document.getElementById('start_date_hijri'),
{
display: { components: {clock: false}},
localization: {
locale: 'ar-SA',
format: 'yyyy MM dd'
}
});
When I modify the date format to: 'yy MM dd', customDateFormat display the year in format not ar-SA format with 2 digit with letter (هـ): like (٤٤ هـ ٠٤ ١٠)
What is the right format customDateFormat to get the right format date for example (yyyy-mm-dd) (١٠-٠٤-١٤٤٤ ) without it showing the letter (هـ) instead
Beta Was this translation helpful? Give feedback.
All reactions