Skip to content

Commit e2e580f

Browse files
authored
Update README.md
1 parent 7ba43c0 commit e2e580f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ encoder.dateEncodingStrategy = .iso8601()
8383
let any = try encoder.encode(Date(timeIntervalSince1970: 0))
8484
```
8585

86-
Epochs are also supported using `.secondsSince1970` and `millisecondsSince1970`.
86+
Epochs are supported using `.secondsSince1970` and `.millisecondsSince1970` or use `.custom` to provide a closure for alternate coding.
8787

8888
## Nil Encoding/Decoding Strategy
8989

0 commit comments

Comments
 (0)