bunny-mod / Bunny

A Discord mobile app client modification.
BSD 3-Clause "New" or "Revised" License
1.54k stars 34 forks source link

bug: Wrong timezone shown #94

Open AlexanderAlexis01 opened 1 month ago

AlexanderAlexis01 commented 1 month ago

Describe the bug When on messages and server, it shows the wrong timezonez same for the timestampa

To Reproduce Steps to reproduce the behavior:

  1. Go to 'messages/a server'
  2. See a message.
  3. Time zone is incorrect.
  4. thats the error.

Expected behavior I expected bunny to show me my correct timesone, this issue has been happening on the last two times i've updated bunny client. Screenshots If applicable, add screenshots to help explain your problem. Screenshot_20241019_074133_io_github_pyoncord_app_MainActivity

Device Information (please complete the following information):

Checklists

Rico040 commented 1 month ago

what

AlexanderAlexis01 commented 1 month ago

what

thats not the italian timezone, we dont have am or pm, this bug is only on bunny client.

Rico040 commented 1 month ago

what

thats not the italian timezone, we dont have am or pm, this bug is only on bunny client.

try changing app language

AlexanderAlexis01 commented 1 month ago

what

thats not the italian timezone, we dont have am or pm, this bug is only on bunny client.

try changing app language

i did. several times. even tried to reinstall bunny client.

XAlboX commented 1 month ago

The problem comes from the fact that Bunny uses split_config.en.apk while patching which is used for some strings of the app. I had already talked about this problem on the discord server with Pilyx but there is no simple fix 'cause it would mean downloading the apk of every language used by discord (30 languages) and 1 play store account per language is required. If you want to test that this is actually the problem, download the discord apk from ApkMirror, rename it to zip, extract it and rename the file "split_config.it.apk" into "split_config.en.apk", move it in the bunny manager cache folder (/storage/emulated/0/Android/data/io.github.pyoncord.manager/cache/discordversion), it will replace the real en file. Reinstall the app though Bunny Manager, it will use cached apks to reinstall and will replace the original en with the new one which is actually the Italian one but renamed. :D

AlexanderAlexis01 commented 1 month ago

The problem comes from the fact that Bunny uses split_config.en.apk while patching which is used for some strings of the app. I had already talked about this problem on the discord server with Pilyx but there is no simple fix 'cause it would mean downloading the apk of every language used by discord (30 languages) and 1 play store account per language is required. If you want to test that this is actually the problem, download the discord apk from ApkMirror, rename it to zip, extract it and rename the file "split_config.it.apk" into "split_config.en.apk", move it in the bunny manager cache folder (/storage/emulated/0/Android/data/io.github.pyoncord.manager/cache/discordversion), it will replace the real en file. Reinstall the app though Bunny Manager, it will use cached apks to reinstall and will replace the original en with the new one which is actually the Italian one but renamed. :D

well thanks, i could maybe contirbute and send the string? so in the future people will also have support for italian?

pylixonly commented 1 month ago

The problem comes from the fact that Bunny uses split_config.en.apk

that's not the issue, that will only affect strings on notifications

well, bad news, i can't reproduce this issue Screenshot_20241021_180752

XAlboX commented 1 month ago

Same, works on my machine

AlexanderAlexis01 commented 1 month ago

The problem comes from the fact that Bunny uses split_config.en.apk

that's not the issue, that will only affect strings on notifications

well, bad news, i can't reproduce this issue Screenshot_20241021_180752

quite odd. i noticed thst when i change language and back to italian, when someone sends a message it fixes, but aftrr awhile it comes bsck

A1Asriel commented 1 month ago

Same here. I use English (UK), yet it shows 12-hour timestamps on messages instead of 24-hour. The temporary fix is to switch the app language to English (US) and back to UK, but it resets to 12-hour format every time the app is launched. I have been using Bunny for over half a year, but the issue arose just recently.

A1Asriel commented 3 weeks ago

6f95203dfa5beb3b48a9cc6061e712acd0ca8fb3 seems to have fixed this issue: the timestamps are formatted with accordance to the selected locale now.

pylixonly commented 3 weeks ago

weird, they shouldn't be related at all