Closed hichamboushaba closed 2 weeks ago
App Name | WooCommerce-Wear Android | |
Platform | ⌚️ Wear OS | |
Flavor | Jalapeno | |
Build Type | Debug | |
Commit | 196def222c31f33b67abd3e5d5098a28182a9f9b | |
Direct Download | woocommerce-wear-prototype-build-pr12887-196def2.apk |
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
App Name | WooCommerce Android | |
Platform | 📱 Mobile | |
Flavor | Jalapeno | |
Build Type | Debug | |
Commit | 196def222c31f33b67abd3e5d5098a28182a9f9b | |
Direct Download | woocommerce-prototype-build-pr12887-196def2.apk |
Attention: Patch coverage is 0%
with 19 lines
in your changes missing coverage. Please review.
Project coverage is 40.20%. Comparing base (
fc0c7e6
) to head (196def2
). Report is 5 commits behind head on trunk.
Files with missing lines | Patch % | Lines |
---|---|---|
.../com/woocommerce/android/extensions/FragmentExt.kt | 0.00% | 19 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Closes: #12885
Description
This PR fixes an issue with the
MaterialDatePicker
, as stated in the ticket above, the component is buggy, it uses UTC internally, so when we get the result from it (as epoch time), it ends up shifted depending on the device timezone.The fix is to shift the time to UTC before passing it to the date picker, then shift it back to the device timezone when we get the picked date.
Steps to reproduce
The tests that have been performed
Images/gif
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: