mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Merge pull request #616 from sharetribe/fix-date-format
Months in short format
This commit is contained in:
commit
c774e0fd7d
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ const defaultProps = {
|
|||
// Internationalization props
|
||||
// Multilocale support can be achieved with displayFormat like moment.localeData.longDateFormat('L')
|
||||
// https://momentjs.com/
|
||||
displayFormat: 'ddd, MMMM D',
|
||||
displayFormat: 'ddd, MMM D',
|
||||
monthFormat: 'MMMM YYYY',
|
||||
weekDayFormat: 'dd',
|
||||
phrases: {
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ export class BookingDatesFormComponent extends Component {
|
|||
|
||||
const dateFormatOptions = {
|
||||
weekday: 'short',
|
||||
month: 'long',
|
||||
month: 'short',
|
||||
day: 'numeric',
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue