The amDateFormat filter only works with date strings that follow a known, standard date format. If I'm trying to use that filter on a differently formatted time string it just fails.
This adds an inputFormat parameter to the amDateFormat filter and allows the filter to use the angularMomentConfig.format variable to set a different format to expect date inputs to follow.
The amDateFormat filter only works with date strings that follow a known, standard date format. If I'm trying to use that filter on a differently formatted time string it just fails.
This adds an inputFormat parameter to the amDateFormat filter and allows the filter to use the angularMomentConfig.format variable to set a different format to expect date inputs to follow.