Skip to content

Commit

Permalink
Update headers
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Mar 5, 2023
1 parent ead93d3 commit d8e8653
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -637,7 +637,7 @@ z.string().datetime({ message: "Invalid datetime string! Must be UTC." });
z.string().ip({ message: "Invalid IP address" });
```

### Datetime validation
### ISO datetimes

The `z.string().datetime()` method defaults to UTC validation: no timezone offsets with arbitrary sub-second decimal precision.

Expand Down Expand Up @@ -672,7 +672,7 @@ datetime.parse("2020-01-01T00:00:00Z"); // fail
datetime.parse("2020-01-01T00:00:00.123456Z"); // fail
```

### IP address validation
### IP addresses

The `z.string().ip()` method by default validate IPv4 and IPv6.

Expand Down
4 changes: 2 additions & 2 deletions deno/lib/README.md
Expand Up @@ -637,7 +637,7 @@ z.string().datetime({ message: "Invalid datetime string! Must be UTC." });
z.string().ip({ message: "Invalid IP address" });
```

### Datetime validation
### ISO datetimes

The `z.string().datetime()` method defaults to UTC validation: no timezone offsets with arbitrary sub-second decimal precision.

Expand Down Expand Up @@ -672,7 +672,7 @@ datetime.parse("2020-01-01T00:00:00Z"); // fail
datetime.parse("2020-01-01T00:00:00.123456Z"); // fail
```

### IP address validation
### IP addresses

The `z.string().ip()` method by default validate IPv4 and IPv6.

Expand Down

0 comments on commit d8e8653

Please sign in to comment.