using Intl.dateTimeFormat()
for indian month name and date
const fullHindi = {
weekday: 'long',
dayPeriod: 'long',
year: 'numeric',
month: 'short',
day: 'numeric',
dayPeriod: "narrow",
hour: '2-digit',
minute: '2-digit',
second: 'numeric',
calendar: 'indian',
timeZone: 'Asia/Kolkata',
numberingSystem: 'deva',
formatMatcher: 'basic',
hourCycle: 'h24',
};
const samay = new Intl.DateTimeFormat("hi", fullHindi);
const today = new Date();
const hindi = samay.format(today);
console.log({hindi}); // शक मंगलवार, २२ श्रावण १९४६, २३:४४:०८
but its not correct though its Shuka/Saptami शुक्ल सप्तमी
i.e. in india date are till 15 and then it changes to diffrent paksha ( either Shukla/Krishna ) see more details here
so my ask is is there any format option configuration is there which change this; just like h12 and h24 format