Publish
This commit is contained in:
5
changelog/0.25.18.md
Normal file
5
changelog/0.25.18.md
Normal file
@@ -0,0 +1,5 @@
|
||||
## [0.25.18](https://www.npmjs.com/package/@sinclair/typebox/v/0.25.18)
|
||||
|
||||
Updates:
|
||||
|
||||
- [307](https://github.com/sinclairzx81/typebox/pull/307) implements date conversion when casting values with `Value.Cast(Type.Date(), ...)`. Castable values include numbers (interpretted as timestamps) and iso8601 string values. UNCASTABLE values will result in dates with values of `1970-01-01T00:00:00.000Z`. This version also includes more robust checks for Dates initialized with invalid values.
|
||||
Reference in New Issue
Block a user