Skip to content

Commit ee9e345

Browse files
add datetime to typeMapping
1 parent 49fc438 commit ee9e345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/support/docblocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ const typeMapping: Record<string, (string | RegExp)[]> = {
258258
string: [
259259
"box",
260260
"cidr",
261-
"date",
262261
"inet",
263262
"line",
264263
"lseg",
@@ -270,6 +269,7 @@ const typeMapping: Record<string, (string | RegExp)[]> = {
270269
"polygon",
271270
"interval",
272271
/^json(b)?$/,
272+
/^date(time)?$/,
273273
/^macaddr(8)?$/,
274274
/^(long|medium)?text$/,
275275
/^(var)?char(acter)?( varying)??(\(\d+\))?$/,

0 commit comments

Comments
 (0)