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

Add KelvinPerMinute to TemperatureChangeRateUnit #1429

Conversation

andrewmeservy
Copy link
Contributor

  • Add KelvinPerMinute to TemperatureChangeRateUnit
  • Add "pause" at end of generate-code.bat so the cmd window does not close immediately, allowing devs to inspect any errors that may have occurred during the command execution.

@angularsen angularsen merged commit a926e5f into angularsen:master Oct 20, 2024
1 check passed
@angularsen
Copy link
Owner

Thanks, looks perfect! Nuget should be out in 30 minutes or so.

Release UnitsNet/5.60.0 · angularsen/UnitsNet

angularsen pushed a commit that referenced this pull request Dec 7, 2024
added the following units to TemperatureChangeRate:
DegreeFahrenheitPerMinute
DegreeFahrenheitPerSecond
DegreeKelvinPerSecond
DegreeCelsiusPerHour
DegreeKelvinPerHour
DegreeFahrenheitPerHour

After reviewing the unit tests I came to the conclusion that the
recently added (#1429) unit
DegreeKelvinPerMinute had a wrong conversion.

I checked that for example here:

https://www.unitsconverters.com/en/Rate-Of-Temperature-Change-Conversions/Measurement-1189
and also here:

https://www.quora.com/Why-is-32-not-used-when-converting-per-degree-Celsius-C-1-to-per-degree-Fahrenheit-F-1
@lipchev
Copy link
Collaborator

lipchev commented Dec 27, 2024

@angularsen I don't believe this has been carried over to v6, do you have something planned for it?

@andrewmeservy
Copy link
Contributor Author

would def appreciate this being included in future versions, and really appreciate David-HH-Dev fixing the conversion calculation :)

@angularsen
Copy link
Owner

@lipchev It will eventually be merged in along with everything else from master to v6, when I have enough time and energy to deal with all the merge conflits 😄

@angularsen
Copy link
Owner

If anyone is eager to get it into v6 sooner, you can do a separate PR targeting release/v6 branch.

@lipchev
Copy link
Collaborator

lipchev commented Dec 28, 2024

I think it's only this and the #1452 that are out of sync (not counting the #1467 )

@angularsen
Copy link
Owner

Merged into V6 branch, nuget should be out shortly.

Release UnitsNet/6.0.0-pre013 · angularsen/UnitsNet

@angularsen angularsen added this to the v6 milestone Dec 29, 2024
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.

3 participants