I\'m running into a small formatting issue with moment\'s a
input.
a/A will return AM/am PM/pm but is there a way to format this to include periods?
<
The method you used to customize the meridiem applies to versions < 1.6.0. You should provide a function in newer versions to update meridiem. Please see the docs for more info:
moment.updateLocale('en', {
meridiem: function(hour, minute, isLowerCase) {
if (hour < 12) {
return 'a.m.';
} else {
return 'p.m.';
}
}
});