Skip to content

Fix crash-time date calculation #2158

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

Merged
merged 3 commits into from
Feb 27, 2025
Merged

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Feb 26, 2025

Goal

Fix an error in the day/date calculation that runs as part of the NDK crash reporting and is used to format the device time.

Testing

Manually tested & introduced new unit tests to cover the edge cases (including a full 20years of formatting in 6 hour increments - ignored for CI).

@lemnik lemnik requested a review from tomlongridge February 26, 2025 18:30
@lemnik lemnik requested a review from YYChen01988 as a code owner February 26, 2025 18:30
@bugsnagbot
Copy link
Collaborator

bugsnagbot commented Feb 26, 2025

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1875.95 1679.13
arm64_v8a 651.52 450.82
armeabi_v7a 585.99 385.29
x86 725.23 528.62
x86_64 696.57 495.86

Generated by 🚫 Danger

@lemnik lemnik force-pushed the PLAT-13769/off-by-one-error-device-date branch from f25292b to 9ecbdb9 Compare February 26, 2025 18:33
tomlongridge
tomlongridge previously approved these changes Feb 27, 2025
@lemnik lemnik force-pushed the PLAT-13769/off-by-one-error-device-date branch from 9076e96 to 7b95973 Compare February 27, 2025 10:54
@lemnik lemnik requested a review from tomlongridge February 27, 2025 11:29
Copy link
Contributor

@YYChen01988 YYChen01988 left a comment

Choose a reason for hiding this comment

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

LGTM

@lemnik lemnik merged commit c6be745 into next Feb 27, 2025
35 checks passed
@lemnik lemnik deleted the PLAT-13769/off-by-one-error-device-date branch February 27, 2025 14:21
@YYChen01988 YYChen01988 mentioned this pull request Mar 3, 2025
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.

4 participants