mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
13 lines
371 B
JavaScript
13 lines
371 B
JavaScript
import { dateFormats } from 'strapi-helper-plugin';
|
|
|
|
const formats = {
|
|
...dateFormats,
|
|
// Customise the format by uncommenting the one you wan to override it corresponds to the type of your field
|
|
// date: 'dddd, MMMM Do YYYY',
|
|
// datetime: 'dddd, MMMM Do YYYY HH:mm',
|
|
// time: 'HH:mm A',
|
|
// timestamp: 'dddd, MMMM Do YYYY HH:mm',
|
|
};
|
|
|
|
export default formats;
|