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

Use Luxon DateTime.toFormat function in TypeScript generated code #1351

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

seniorquico
Copy link
Contributor

This (attempts to) fix #1350. I just followed the existing pattern used for converting properties with a date-time format, but fixed the function call to use toFormat('yyyy-MM-dd').

@RicoSuter RicoSuter merged commit e8ffac0 into RicoSuter:master Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid toJSON in generated TypeScript when using Luxon
2 participants