File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const localization = {
2727 toggleMeridiem : 'Alterar AM/PM' ,
2828 selectTime : 'Selecionar hora' ,
2929 selectDate : 'Seleccionar data' ,
30- dayViewHeaderFormat : { month : 'long' , year : '2-digits ' } ,
30+ dayViewHeaderFormat : { month : 'long' , year : '2-digit ' } ,
3131 startOfTheWeek : 1 ,
3232 locale : 'pt-PT' ,
3333 dateFormats : {
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ export class OptionConverter {
8989 const flattenedOptions = OptionConverter . getFlattenDefaultOptions ( ) ;
9090
9191 const errors = unsupportedOptions . map ( ( x ) => {
92- let error = `"${ path } .${ x } " in not a known option.` ;
92+ const d = path ? '.' : '' ;
93+ let error = `"${ path } ${ d } ${ x } " is not a known option.` ;
9394 const didYouMean = flattenedOptions . find ( ( y ) => y . includes ( x ) ) ;
9495 if ( didYouMean ) error += ` Did you mean "${ didYouMean } "?` ;
9596 return error ;
You can’t perform that action at this time.
0 commit comments