A moment.js plugin to extract the format of a date/time string