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

C# TimeSpan not resolved and generated as a DayJs duration #1709

Open
FreeFrags opened this issue Jun 26, 2024 · 1 comment
Open

C# TimeSpan not resolved and generated as a DayJs duration #1709

FreeFrags opened this issue Jun 26, 2024 · 1 comment

Comments

@FreeFrags
Copy link
Contributor

Im moving from MomentJS to DayJs in my code, i noticed that a C# TimeSpan was resolved as a moment,Duration. However now using DayJs it is resolving to a dayjs.Dayjs.

I think this is the line we are talking about:

My question is, is this a bug and should this line be dayjs.Duration or... is this done on purpose?

@FreeFrags
Copy link
Contributor Author

I created an issue in NSwag to, since if you decide this is an issue it might be nice to add the proper import too.
RicoSuter/NSwag#4925

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

No branches or pull requests

1 participant