Skip to content

Commit 64db0f7

Browse files
methanejulienschmidt
authored andcommitted
Add one line note about 0000-00-00 date/datetime (#783)
Fixes #741 Signed-off-by: INADA Naoki <[email protected]>
1 parent ceae19c commit 64db0f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ Default: false
259259
```
260260

261261
`parseTime=true` changes the output type of `DATE` and `DATETIME` values to `time.Time` instead of `[]byte` / `string`
262+
The date or datetime like `0000-00-00 00:00:00` is converted into zero value of `time.Time`.
262263

263264

264265
##### `readTimeout`

0 commit comments

Comments
 (0)