Skip to content

Commit

Permalink
fixed date converter for javascript-flowtyped (OpenAPITools#15983)
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-martin committed Jul 5, 2023
1 parent 85df55b commit 5479e57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const {{classname}}FetchParamCreator = function (configuration?: Configur
{{/isDateTime}}
{{^isDateTime}}
{{#isDate}}
localVarQueryParameter['{{baseName}}'] = (({{paramName}}:any):Date).toISOString();
localVarQueryParameter['{{baseName}}'] = (({{paramName}}:any):Date).toISOString().slice(0, 10);
{{/isDate}}
{{^isDate}}
localVarQueryParameter['{{baseName}}'] = (({{paramName}}:any):string);
Expand Down

0 comments on commit 5479e57

Please sign in to comment.