I\'m running into a small formatting issue with moment\'s a input.
a
a/A will return AM/am PM/pm but is there a way to format this to include periods?
Based on @user4040648 answer here is how you can implement it in es6
moment.updateLocale('en', { meridiem(hour, minute, isLowerCase) { return hour < 12 ? 'a.m.' : 'p.m.'; } });