Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Turn x-local-timezone annotation to mandatory for util.Date #1808

Closed
kpanot opened this issue May 22, 2024 · 0 comments
Closed

[Feature]: Turn x-local-timezone annotation to mandatory for util.Date #1808

kpanot opened this issue May 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kpanot
Copy link
Contributor

kpanot commented May 22, 2024

Context

Today all the Date and Datetime properties defined in Open API specification definitions are resolved to utils.Date and utils.Datetime per default.

Proposal

Starting the version 11 of the SDK generator, the annotation x-local-timezone will be mandatory to resolve as utils.Date and utils.Datetime. Per default the String format should be used.

@kpanot kpanot added the enhancement New feature or request label May 22, 2024
@kpanot kpanot added this to the Otter Version 11 milestone May 22, 2024
@cpaulve-1A cpaulve-1A self-assigned this Jun 24, 2024
cpaulve-1A added a commit that referenced this issue Jun 24, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jun 24, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jun 24, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jun 24, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jun 25, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jun 26, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jul 1, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jul 3, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jul 4, 2024
Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime (#1808).

Set sdk `isStringified` option for dates as true by default
cpaulve-1A added a commit that referenced this issue Jul 5, 2024
…1919)

## Proposed change

Use `x-local-timezone` as an opt-in mechanism to use utils.Date and
utils.DateTime .

Set sdk `isStringified` option for dates as true by default

## Related issues

- 🚀 Feature #1808
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants