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

Update CSharpGenerator.cs #1352

Merged
merged 1 commit into from
Apr 8, 2021
Merged

Update CSharpGenerator.cs #1352

merged 1 commit into from
Apr 8, 2021

Conversation

jellelicht
Copy link
Contributor

@jellelicht jellelicht commented Mar 31, 2021

Make DateFormatConverter use System.Text.Json, if desired.

The liquid template was already adapted for this, but UseSystemTextJson was always false.

NB: I'm not quite sure how to test that my change does what I think it does. Also, if my attempt here actually works, I think this bug might also be hiding for other templates that are instantiated using TemplateModelBase

Make DateFormatConverter use System.Text.Json, if desired
@RicoSuter RicoSuter merged commit 63e4cdc 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.

2 participants