Thank you for contributing! Take a moment to review our contributing guidelines
to make the process easy and effective for everyone involved.
You must open an issue before embarking on any significant pull request, especially those that
add a new code or change existing tests, otherwise you risk spending a lot of time working
on something that might not end up being merged into the project.
[X] Code is well-commented and follows project conventions
[X] You only changed necessary files (commits with formatting only changes will be reject, see below)
[ ] Documentation is updated (if necessary)
[ ] Description explains the issue/use-case resolved and auto-closes related issues
[ ] IMPORTANT You have executed the format_code.bat batch in the root of your fork to format the code with qlnet standard.
Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
IMPORTANT: By submitting a patch via a Pull Request, you agree to allow the project
owners to license your work under the terms of the BSD3 License.
Summary
Just a small PR: Adds Date.ToDateTime() to convert QLNet.Date back to good old System.DateTime. I know there is already an implicit operator, but sometimes having the date.ToDateTime() syntax is more fluent, espeically for continuation funtions, e.g. var days = d.ToDateTime().Subtract(DateTime.Today).TotalDays;
QLNet
Thank you for contributing! Take a moment to review our contributing guidelines to make the process easy and effective for everyone involved.
You must open an issue before embarking on any significant pull request, especially those that add a new code or change existing tests, otherwise you risk spending a lot of time working on something that might not end up being merged into the project.
Before opening a pull request, please ensure:
Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
IMPORTANT: By submitting a patch via a Pull Request, you agree to allow the project owners to license your work under the terms of the BSD3 License.
Summary
Just a small PR: Adds
Date.ToDateTime()
to convertQLNet.Date
back to good oldSystem.DateTime
. I know there is already an implicit operator, but sometimes having thedate.ToDateTime()
syntax is more fluent, espeically for continuation funtions, e.g.var days = d.ToDateTime().Subtract(DateTime.Today).TotalDays;