Merge pull request #616 from sharetribe/fix-date-format

Months in short format
This commit is contained in:
Vesa Luusua 2017-12-22 13:16:27 +02:00 committed by GitHub
commit c774e0fd7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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: {

View file

@ -175,7 +175,7 @@ export class BookingDatesFormComponent extends Component {
const dateFormatOptions = {
weekday: 'short',
month: 'long',
month: 'short',
day: 'numeric',
};