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

[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection. #17421

Merged
merged 1 commit into from Mar 1, 2020

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Feb 29, 2020

Fixes a stupid bug in a leap year detection macro (which I had copied from somewhere).

Runtime-tested on macOS, latest Kodi master.

@phunkyfish when you get time for a review.

@ksooo ksooo added Type: Fix non-breaking change which fixes an issue Component: PVR v19 Matrix labels Feb 29, 2020
@ksooo ksooo added this to the Matrix 19.0-alpha 1 milestone Feb 29, 2020
Copy link
Contributor

@phunkyfish phunkyfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, I have no idea why the old version was so complex!

@phunkyfish
Copy link
Contributor

phunkyfish commented Feb 29, 2020

Ok, but the define in the PR is human readable and makes sense. I think I prefer that over a more complex solution.

Are there benefits to what you propose vs the content of the PR? Please detail those if there are.

@ksooo ksooo merged commit f1055dd into xbmc:master Mar 1, 2020
@ksooo ksooo deleted the pvr-fix-leap-year-detection branch March 1, 2020 06:31
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Mar 2, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Mar 4, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Maven85 pushed a commit to Maven85/kodi that referenced this pull request May 5, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 3, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 4, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 4, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 5, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 6, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 7, 2020
[PVR] CPVRTimerInfoTag::ConvertUTCToLocalTime: Fix leap year detection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: PVR Type: Fix non-breaking change which fixes an issue v19 Matrix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants