Skip to content

Commit

Permalink
Change date formatting docs from .sssZ to .SSSZ (#2015)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandlerprall authored Jun 11, 2019
1 parent 1d8596b commit bf91bde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src-docs/src/views/date_picker/date_picker_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export const DatePickerExample = {
<EuiCode>start</EuiCode> and <EuiCode>end</EuiCode> date times are
passed as strings in either datemath format (e.g.: now, now-15m,
now-15m/m) or as absolute date in the format{' '}
<EuiCode>YYYY-MM-DDTHH:mm:ss.sssZ</EuiCode>. Use{' '}
<EuiCode>YYYY-MM-DDTHH:mm:ss.SSSZ</EuiCode>. Use{' '}
<EuiLink href="https://github.com/elastic/datemath-js">
datemath
</EuiLink>{' '}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ export class EuiSuperDatePicker extends Component {
isLoading: PropTypes.bool,
/**
* String as either datemath (e.g.: now, now-15m, now-15m/m) or
* absolute date in the format 'YYYY-MM-DDTHH:mm:ss.sssZ'
* absolute date in the format 'YYYY-MM-DDTHH:mm:ss.SSSZ'
*/
start: PropTypes.string,
/**
* String as either datemath (e.g.: now, now-15m, now-15m/m) or
* absolute date in the format 'YYYY-MM-DDTHH:mm:ss.sssZ'
* absolute date in the format 'YYYY-MM-DDTHH:mm:ss.SSSZ'
*/
end: PropTypes.string,
/**
Expand Down Expand Up @@ -80,13 +80,13 @@ export class EuiSuperDatePicker extends Component {

/**
* 'start' and 'end' must be string as either datemath (e.g.: now, now-15m, now-15m/m) or
* absolute date in the format 'YYYY-MM-DDTHH:mm:ss.sssZ'
* absolute date in the format 'YYYY-MM-DDTHH:mm:ss.SSSZ'
*/
commonlyUsedRanges: PropTypes.arrayOf(commonlyUsedRangeShape),
dateFormat: PropTypes.string,
/**
* 'start' and 'end' must be string as either datemath (e.g.: now, now-15m, now-15m/m) or
* absolute date in the format 'YYYY-MM-DDTHH:mm:ss.sssZ'
* absolute date in the format 'YYYY-MM-DDTHH:mm:ss.SSSZ'
*/
recentlyUsedRanges: PropTypes.arrayOf(recentlyUsedRangeShape),
/**
Expand Down

0 comments on commit bf91bde

Please sign in to comment.