Skip to content

Commit 6e39d60

Browse files
authored
Fixed documentation for built in date formats. (elastic#83036)
We had a lot of `ZZ` on the end of formats. But it's just `Z`.
1 parent 190f4f8 commit 6e39d60

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/reference/mapping/params/format.asciidoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,12 @@ The following tables lists all the defaults ISO formats supported:
180180
`date_time` or `strict_date_time`::
181181

182182
A formatter that combines a full date and time, separated by a 'T':
183-
`yyyy-MM-dd'T'HH:mm:ss.SSSZZ`.
183+
`yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
184184

185185
`date_time_no_millis` or `strict_date_time_no_millis`::
186186

187187
A formatter that combines a full date and time without millis, separated
188-
by a 'T': `yyyy-MM-dd'T'HH:mm:ssZZ`.
188+
by a 'T': `yyyy-MM-dd'T'HH:mm:ssZ`.
189189

190190
`hour` or `strict_hour`::
191191

@@ -219,34 +219,34 @@ The following tables lists all the defaults ISO formats supported:
219219
`ordinal_date_time` or `strict_ordinal_date_time`::
220220

221221
A formatter for a full ordinal date and time, using a four digit year and
222-
three digit dayOfYear: `yyyy-DDD'T'HH:mm:ss.SSSZZ`.
222+
three digit dayOfYear: `yyyy-DDD'T'HH:mm:ss.SSSZ`.
223223

224224
`ordinal_date_time_no_millis` or `strict_ordinal_date_time_no_millis`::
225225

226226
A formatter for a full ordinal date and time without millis, using a four
227-
digit year and three digit dayOfYear: `yyyy-DDD'T'HH:mm:ssZZ`.
227+
digit year and three digit dayOfYear: `yyyy-DDD'T'HH:mm:ssZ`.
228228

229229
`time` or `strict_time`::
230230

231231
A formatter for a two digit hour of day, two digit minute of hour, two
232232
digit second of minute, three digit fraction of second, and time zone
233-
offset: `HH:mm:ss.SSSZZ`.
233+
offset: `HH:mm:ss.SSSZ`.
234234

235235
`time_no_millis` or `strict_time_no_millis`::
236236

237237
A formatter for a two digit hour of day, two digit minute of hour, two
238-
digit second of minute, and time zone offset: `HH:mm:ssZZ`.
238+
digit second of minute, and time zone offset: `HH:mm:ssZ`.
239239

240240
`t_time` or `strict_t_time`::
241241

242242
A formatter for a two digit hour of day, two digit minute of hour, two
243243
digit second of minute, three digit fraction of second, and time zone
244-
offset prefixed by 'T': `'T'HH:mm:ss.SSSZZ`.
244+
offset prefixed by 'T': `'T'HH:mm:ss.SSSZ`.
245245

246246
`t_time_no_millis` or `strict_t_time_no_millis`::
247247

248248
A formatter for a two digit hour of day, two digit minute of hour, two
249-
digit second of minute, and time zone offset prefixed by 'T': `'T'HH:mm:ssZZ`.
249+
digit second of minute, and time zone offset prefixed by 'T': `'T'HH:mm:ssZ`.
250250

251251
`week_date` or `strict_week_date`::
252252

@@ -256,12 +256,12 @@ The following tables lists all the defaults ISO formats supported:
256256
`week_date_time` or `strict_week_date_time`::
257257

258258
A formatter that combines a full weekyear date and time, separated by a
259-
'T': `xxxx-'W'ww-e'T'HH:mm:ss.SSSZZ`.
259+
'T': `xxxx-'W'ww-e'T'HH:mm:ss.SSSZ`.
260260

261261
`week_date_time_no_millis` or `strict_week_date_time_no_millis`::
262262

263263
A formatter that combines a full weekyear date and time without millis,
264-
separated by a 'T': `xxxx-'W'ww-e'T'HH:mm:ssZZ`.
264+
separated by a 'T': `xxxx-'W'ww-e'T'HH:mm:ssZ`.
265265

266266
`weekyear` or `strict_weekyear`::
267267

0 commit comments

Comments
 (0)