Describe the bug
Following this PR, the parameter ConvertDateToLocalTimezone was added to configure whether the DateOnly conversion should be to local or no. However, the parameter does not exists on the settings TypeScriptClientGeneratorSettings and also does not exists on OpenApiToTypeScriptClientCommand.
The lack of that configurable makes it impossible to work with DateOnly parameters when the native Date object is being used and the current user is on negative timezone offset.
Version used
Tested with version 14.2.0 from npm
Expected behavior
When this parameter is set to true, DateOnly conversion should use the method parseDateOnly that converts the Date to the local time zone.
Describe the bug
Following this PR, the parameter
ConvertDateToLocalTimezonewas added to configure whether the DateOnly conversion should be to local or no. However, the parameter does not exists on the settings TypeScriptClientGeneratorSettings and also does not exists on OpenApiToTypeScriptClientCommand.The lack of that configurable makes it impossible to work with DateOnly parameters when the native Date object is being used and the current user is on negative timezone offset.
Version used
Tested with version 14.2.0 from npm
Expected behavior
When this parameter is set to true, DateOnly conversion should use the method parseDateOnly that converts the Date to the local time zone.