From bf91bde50b77c06232bcd6b6ae526fdad448d966 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Tue, 11 Jun 2019 08:49:32 -0600 Subject: [PATCH] Change date formatting docs from .sssZ to .SSSZ (#2015) --- src-docs/src/views/date_picker/date_picker_example.js | 2 +- .../date_picker/super_date_picker/super_date_picker.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src-docs/src/views/date_picker/date_picker_example.js b/src-docs/src/views/date_picker/date_picker_example.js index 719dfc7855d..900b7839b07 100644 --- a/src-docs/src/views/date_picker/date_picker_example.js +++ b/src-docs/src/views/date_picker/date_picker_example.js @@ -342,7 +342,7 @@ export const DatePickerExample = { start and end 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{' '} - YYYY-MM-DDTHH:mm:ss.sssZ. Use{' '} + YYYY-MM-DDTHH:mm:ss.SSSZ. Use{' '} datemath {' '} diff --git a/src/components/date_picker/super_date_picker/super_date_picker.js b/src/components/date_picker/super_date_picker/super_date_picker.js index 281aaac983d..8cbe8dd0291 100644 --- a/src/components/date_picker/super_date_picker/super_date_picker.js +++ b/src/components/date_picker/super_date_picker/super_date_picker.js @@ -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, /** @@ -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), /**