You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -83,7 +83,7 @@ So, a relative date phrase is used for up to a month and then the actual date is
83
83
84
84
<sup>*</sup>: If unspecified, `formatStyle` will return `'narrow'` if `format` is `'elapsed'` or `'micro'`, `'short'` if the format is `'relative'` or `'datetime'`, otherwise it will be `'long'`.
85
85
86
-
<sup>**</sup>: If unspecified, `month` will return the same value as `formatStyle` whenever `format` is `'datetime'`, otherwise it wil be `'short'`.
86
+
<sup>**</sup>: If unspecified, `month` will return the same value as `formatStyle` whenever `format` is `'datetime'`, otherwise it will be `'short'`.
87
87
88
88
<sup>***</sup>: If unspecified, `weekday` will return the same value as `formatStyle` whenever `format` is `'datetime'`, otherwise it will be `undefined`.
89
89
@@ -122,7 +122,7 @@ Unless specified, it will consider `weekday` to be `'long'`, `month` to be `'lon
122
122
123
123
###### `format=relative`
124
124
125
-
The default `relative` format will display dates relative to the current time (unless they are past the `threshold` value - see below). The values are rounded to display a single unit, for example if the time between the given `datetime` and the current wall clock time exceeds a day, then the format will _only_ouput in days, and will not display hours, minutes or seconds. Some examples of this format with the default options and an `en` locale:
125
+
The default `relative` format will display dates relative to the current time (unless they are past the `threshold` value - see below). The values are rounded to display a single unit, for example if the time between the given `datetime` and the current wall clock time exceeds a day, then the format will _only_output in days, and will not display hours, minutes or seconds. Some examples of this format with the default options and an `en` locale:
126
126
127
127
-`in 20 days`
128
128
-`20 days ago`
@@ -146,7 +146,7 @@ This is similar to the `format=duration`, except the `formatStyle` defaults to `
146
146
147
147
###### `format=auto`
148
148
149
-
This is identical to `format=relative`. Code that uses `format=auto` should migrae to `format=relative` as this will be the new default in a later version.
149
+
This is identical to `format=relative`. Code that uses `format=auto` should migrate to `format=relative` as this will be the new default in a later version.
0 commit comments