Skip to content

Commit 12404f7

Browse files
Initial edits (#3153)
1 parent e77e7e4 commit 12404f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/hilla/lit/reference/type-conversion.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ The conversion works in the same way as primitive types.
100100

101101
That is to say, an epoch timestamp in milliseconds (e.g., `'1571660184000'`), or an
102102
ISO-8601 formatted date (e.g. `2019-10-21T12:16:24.000+00:00`), or a RFC-1123 date (e.g., `Sun, 21 Oct 2019 12:16:24 GMT`) are each converted to the same value and format (e.g., `2019-10-21:12:16.24.000+0000`).
103-
| A non-number string that does not conform neither to ISO-8601 nor to RFC-1123 format (e.g., `'foo'`).
103+
| A non-numeric string that doesn't conform to ISO-8601 or to RFC-1123 format (e.g., `'foo'`).
104104

105105
| `java.time.Instant`
106106
| A string that represents an epoch timestamp in seconds. For example, `'1546300800'` is converted to a `java.time.Instant` instance that contains the value of `2019-01-01T00:00:00Z`.
107107

108108
Also, a string that follows the `java.time.format.DateTimeFormatter#ISO_INSTANT` format (i.e., `yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`) is converted the same way.
109-
| A non-number string that does not conform to `ISO_INSTANT` format (e.g., `'foo'`).
109+
| A non-numeric string that doesn't conform to `ISO_INSTANT` format (e.g., `'foo'`).
110110

111111
| `java.time.LocalDate`
112112
| A string that follows the `java.time.format.DateTimeFormatter#ISO_LOCAL_DATE` format `yyyy-MM-dd` (e.g., `'2018-12-16'`, `'2019-01-01'`).

0 commit comments

Comments
 (0)