blob: 08de934309ba688ee8e6a779c2ade737040def82 [file] [log] [blame]
import createMultiFormatter from '../factories/createMultiFormatter';
const smartDateFormatter = createMultiFormatter({
id: 'smart_date_verbose',
label: 'Verbose Adaptative Formatting',
formats: {
millisecond: '.%L',
second: '%a %b %d, %I:%M:%S %p',
minute: '%a %b %d, %I:%M %p',
hour: '%a %b %d, %I %p',
day: '%a %b %-e',
week: '%a %b %-e',
month: '%b %Y',
year: '%Y',
},
});
export default smartDateFormatter;